contrib: output copyright in generate-seeds.py
What changed, and why it matters
This commit simply adds a standard copyright and license notice to the top of a generated source file. It is a legal/documentation change, not a security fix or code behavior change.
No security action needed. Treat as routine legal/licensing cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change modifies contrib/seeds/generate-seeds.py to emit a three-line copyright/license header into the generated chainparamsseeds.h file. No functional code, seed data, parsing logic, or output format is altered beyond adding comments.
Changed components
contrib/seeds/generate-seeds.pyInspect captured patch +3 / −0
diff --git a/contrib/seeds/generate-seeds.py b/contrib/seeds/generate-seeds.py
index 9ad48805..2dfad0c7 100755
--- a/contrib/seeds/generate-seeds.py
+++ b/contrib/seeds/generate-seeds.py
@@ -160,6 +160,9 @@ def main():
sys.exit(1)
g = sys.stdout
indir = sys.argv[1]
+ g.write('// Copyright (c) The Bitcoin Core developers\n')
+ g.write('// Distributed under the MIT software license, see the accompanying\n')
+ g.write('// file COPYING or https://opensource.org/license/mit.\n\n')
g.write('#ifndef BITCOIN_CHAINPARAMSSEEDS_H\n')
g.write('#define BITCOIN_CHAINPARAMSSEEDS_H\n')
g.write('/**\n')
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.