diff --git a/README.md b/README.md index 88c39a94..3239dbe3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Fixed size math +# Fixed size 256-bit math library This is a library specialized at replacing the big.Int library for math based on 256-bit types. This is meant for use in [go-ethereum](https://github.com/ethereum/go-ethereum) eventually, once it's deemed fast, stable and secure enough. diff --git a/benchmarks_test.go b/benchmarks_test.go index 0ce7af54..37c5c00b 100644 --- a/benchmarks_test.go +++ b/benchmarks_test.go @@ -1,7 +1,6 @@ -// Copyright 2019-2020 uint256 Authors. -// Use of this source code is governed by a BSD-style license that can be found -// in the COPYING file. -// +// uint256: Fixed size 256-bit math library +// Copyright 2020 uint256 Authors +// SPDX-License-Identifier: BSD-3-Clause package uint256 diff --git a/conversion.go b/conversion.go index 709a44da..a3aa3859 100644 --- a/conversion.go +++ b/conversion.go @@ -1,9 +1,6 @@ -// Copyright 2020 Martin Holst Swende. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be found -// in the COPYING file. -// - -// Package math provides integer math utilities. +// uint256: Fixed size 256-bit math library +// Copyright 2020 uint256 Authors +// SPDX-License-Identifier: BSD-3-Clause package uint256 diff --git a/conversion_test.go b/conversion_test.go index 66bfa894..a95026bc 100644 --- a/conversion_test.go +++ b/conversion_test.go @@ -1,7 +1,6 @@ -// Copyright 2020 Martin Holst Swende. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be found -// in the COPYING file. -// +// uint256: Fixed size 256-bit math library +// Copyright 2020 uint256 Authors +// SPDX-License-Identifier: BSD-3-Clause package uint256 diff --git a/div.go b/div.go index eeaef592..9478718b 100644 --- a/div.go +++ b/div.go @@ -1,3 +1,7 @@ +// uint256: Fixed size 256-bit math library +// Copyright 2020 uint256 Authors +// SPDX-License-Identifier: BSD-3-Clause + package uint256 import "math/bits" diff --git a/fuzz.go b/fuzz.go index 42d11fb2..eb025e04 100644 --- a/fuzz.go +++ b/fuzz.go @@ -1,3 +1,7 @@ +// uint256: Fixed size 256-bit math library +// Copyright 2020 uint256 Authors +// SPDX-License-Identifier: BSD-3-Clause + // +build gofuzz package uint256 diff --git a/uint256.go b/uint256.go index 67868890..4b78a0ed 100644 --- a/uint256.go +++ b/uint256.go @@ -1,7 +1,6 @@ -// Copyright 2019 Martin Holst Swende. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be found -// in the COPYING file. -// +// uint256: Fixed size 256-bit math library +// Copyright 2018-2020 uint256 Authors +// SPDX-License-Identifier: BSD-3-Clause // Package math provides integer math utilities. diff --git a/uint256_test.go b/uint256_test.go index 4e623b0f..58f3111b 100644 --- a/uint256_test.go +++ b/uint256_test.go @@ -1,7 +1,6 @@ -// Copyright 2019 Martin Holst Swende. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be found -// in the COPYING file. -// +// uint256: Fixed size 256-bit math library +// Copyright 2018-2020 uint256 Authors +// SPDX-License-Identifier: BSD-3-Clause package uint256