From c2acde0f9bbd2f7cab8e3a74123cef60d7225e3e Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 4 Oct 2024 23:03:12 +0300 Subject: [PATCH] chore: update copyright_header.py and BitPay copyright strings --- contrib/devtools/copyright_header.py | 14 +++++++++----- src/addressindex.cpp | 2 +- src/addressindex.h | 2 +- src/rpc/index_util.cpp | 2 +- src/rpc/index_util.h | 2 +- src/spentindex.h | 2 +- src/timestampindex.h | 2 +- 7 files changed, 15 insertions(+), 11 deletions(-) diff --git a/contrib/devtools/copyright_header.py b/contrib/devtools/copyright_header.py index 2b222e8ac7..69e33ceacc 100755 --- a/contrib/devtools/copyright_header.py +++ b/contrib/devtools/copyright_header.py @@ -20,15 +20,16 @@ EXCLUDE = [ 'src/qt/dashstrings.cpp', 'src/chainparamsseeds.h', # other external copyrights: - 'src/bip39.cpp', - 'src/bip39.h', - 'src/bip39_english.h', + 'src/bench/nanobench.h', 'src/crypto/*', 'src/ctpl_stl.h', 'src/reverse_iterator.h', 'src/test/fuzz/FuzzedDataProvider.h', 'src/tinyformat.h', - 'src/bench/nanobench.h', + 'src/util/expected.h', + 'src/wallet/bip39.cpp', + 'src/wallet/bip39.h', + 'src/wallet/bip39_english.h', 'test/functional/test_framework/bignum.py', # python init: '*__init__.py', @@ -37,13 +38,14 @@ EXCLUDE_COMPILED = re.compile('|'.join([fnmatch.translate(m) for m in EXCLUDE])) EXCLUDE_DIRS = [ # git subtrees + "src/crc32c/", "src/crypto/ctaes/", "src/dashbls/", + "src/gsl/", "src/immer/", "src/leveldb/", "src/secp256k1/", "src/univalue/", - "src/crc32c/", ] INCLUDE = ['*.h', '*.cpp', '*.cc', '*.c', '*.mm', '*.py', '*.sh', '*.bash-completion'] @@ -113,6 +115,8 @@ EXPECTED_HOLDER_NAMES = [ r"Intel Corporation ?", r"The Zcash developers", r"Jeremy Rubin", + r"Statoshi Developers", + r"Vincent Thiery", ] DOMINANT_STYLE_COMPILED = {} diff --git a/src/addressindex.cpp b/src/addressindex.cpp index e9eee7850f..0e26f63295 100644 --- a/src/addressindex.cpp +++ b/src/addressindex.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016 BitPay, Inc. +// Copyright (c) 2016 BitPay Inc. // Copyright (c) 2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/addressindex.h b/src/addressindex.h index e2dc67a7d8..6425ddf8b2 100644 --- a/src/addressindex.h +++ b/src/addressindex.h @@ -1,6 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers -// Copyright (c) 2016 BitPay, Inc. +// Copyright (c) 2016 BitPay Inc. // Copyright (c) 2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/index_util.cpp b/src/rpc/index_util.cpp index 113071cb8a..abe6912868 100644 --- a/src/rpc/index_util.cpp +++ b/src/rpc/index_util.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016 BitPay, Inc. +// Copyright (c) 2016 BitPay Inc. // Copyright (c) 2024 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/index_util.h b/src/rpc/index_util.h index 3155bf2263..577e496f58 100644 --- a/src/rpc/index_util.h +++ b/src/rpc/index_util.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016 BitPay, Inc. +// Copyright (c) 2016 BitPay Inc. // Copyright (c) 2024 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/spentindex.h b/src/spentindex.h index 626762fc5f..c0154bb240 100644 --- a/src/spentindex.h +++ b/src/spentindex.h @@ -1,6 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers -// Copyright (c) 2016 BitPay, Inc. +// Copyright (c) 2016 BitPay Inc. // Copyright (c) 2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/timestampindex.h b/src/timestampindex.h index 42c34ee55e..e75a6fce99 100644 --- a/src/timestampindex.h +++ b/src/timestampindex.h @@ -1,6 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers -// Copyright (c) 2016 BitPay, Inc. +// Copyright (c) 2016 BitPay Inc. // Copyright (c) 2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php.