From 939111c33d61e35f9208db8bcc42c809e46051f8 Mon Sep 17 00:00:00 2001 From: fanquake Date: Fri, 14 Feb 2025 16:36:39 +0100 Subject: [PATCH] doc: add & amend copyright headers --- src/node/peerman_args.cpp | 4 ++++ src/node/peerman_args.h | 4 ++++ src/node/txdownloadman_impl.cpp | 2 +- src/node/txdownloadman_impl.h | 2 +- src/test/fuzz/headerssync.cpp | 4 ++++ src/test/fuzz/partially_downloaded_block.cpp | 4 ++++ src/univalue/include/univalue_escapes.h | 5 +++++ src/univalue/test/test_json.cpp | 5 +++++ src/util/transaction_identifier.h | 4 ++++ src/wallet/migrate.cpp | 1 + test/lint/lint_ignore_dirs.py | 5 +++++ 11 files changed, 38 insertions(+), 2 deletions(-) diff --git a/src/node/peerman_args.cpp b/src/node/peerman_args.cpp index b0ae2663651..d1f2ca4d381 100644 --- a/src/node/peerman_args.cpp +++ b/src/node/peerman_args.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2023 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include #include diff --git a/src/node/peerman_args.h b/src/node/peerman_args.h index 73dbdb446c2..00006a7d328 100644 --- a/src/node/peerman_args.h +++ b/src/node/peerman_args.h @@ -1,3 +1,7 @@ +// Copyright (c) 2023 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #ifndef BITCOIN_NODE_PEERMAN_ARGS_H #define BITCOIN_NODE_PEERMAN_ARGS_H diff --git a/src/node/txdownloadman_impl.cpp b/src/node/txdownloadman_impl.cpp index 452c75da05d..9a4daa14098 100644 --- a/src/node/txdownloadman_impl.cpp +++ b/src/node/txdownloadman_impl.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2024 +// Copyright (c) 2024 The Bitcoin 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/node/txdownloadman_impl.h b/src/node/txdownloadman_impl.h index d9688d0c8d8..401cd4fd14b 100644 --- a/src/node/txdownloadman_impl.h +++ b/src/node/txdownloadman_impl.h @@ -1,4 +1,4 @@ -// Copyright (c) 2024 +// Copyright (c) 2024 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_NODE_TXDOWNLOADMAN_IMPL_H diff --git a/src/test/fuzz/headerssync.cpp b/src/test/fuzz/headerssync.cpp index 8135b0d4eab..90cc615f381 100644 --- a/src/test/fuzz/headerssync.cpp +++ b/src/test/fuzz/headerssync.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2022 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include #include #include diff --git a/src/test/fuzz/partially_downloaded_block.cpp b/src/test/fuzz/partially_downloaded_block.cpp index 8c6565e48b8..11fe267cef1 100644 --- a/src/test/fuzz/partially_downloaded_block.cpp +++ b/src/test/fuzz/partially_downloaded_block.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2023 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or https://www.opensource.org/licenses/mit-license.php. + #include #include #include diff --git a/src/univalue/include/univalue_escapes.h b/src/univalue/include/univalue_escapes.h index 83767e8ac5d..822da1f7077 100644 --- a/src/univalue/include/univalue_escapes.h +++ b/src/univalue/include/univalue_escapes.h @@ -1,3 +1,8 @@ +// Copyright 2014 BitPay Inc. +// Copyright 2015 Bitcoin Core Developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or https://opensource.org/licenses/mit-license.php. + #ifndef BITCOIN_UNIVALUE_INCLUDE_UNIVALUE_ESCAPES_H #define BITCOIN_UNIVALUE_INCLUDE_UNIVALUE_ESCAPES_H static const char *escapes[256] = { diff --git a/src/univalue/test/test_json.cpp b/src/univalue/test/test_json.cpp index f8c10238d4d..9ec095031fb 100644 --- a/src/univalue/test/test_json.cpp +++ b/src/univalue/test/test_json.cpp @@ -1,3 +1,8 @@ +// Copyright 2014 BitPay Inc. +// Copyright 2015 Bitcoin Core Developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or https://opensource.org/licenses/mit-license.php. + // Test program that can be called by the JSON test suite at // https://github.com/nst/JSONTestSuite. // diff --git a/src/util/transaction_identifier.h b/src/util/transaction_identifier.h index 81b053843df..2d9128a7120 100644 --- a/src/util/transaction_identifier.h +++ b/src/util/transaction_identifier.h @@ -1,3 +1,7 @@ +// Copyright (c) 2023 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #ifndef BITCOIN_UTIL_TRANSACTION_IDENTIFIER_H #define BITCOIN_UTIL_TRANSACTION_IDENTIFIER_H diff --git a/src/wallet/migrate.cpp b/src/wallet/migrate.cpp index f97ee0756c1..cb70336a603 100644 --- a/src/wallet/migrate.cpp +++ b/src/wallet/migrate.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2024 The Bitcoin 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/test/lint/lint_ignore_dirs.py b/test/lint/lint_ignore_dirs.py index 7525eac341d..5541f46a934 100644 --- a/test/lint/lint_ignore_dirs.py +++ b/test/lint/lint_ignore_dirs.py @@ -1,3 +1,8 @@ +#!/usr/bin/env python3 +# Copyright (c) 2024 The Bitcoin Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. + SHARED_EXCLUDED_SUBTREES = ["src/leveldb/", "src/crc32c/", "src/secp256k1/",