What changed, and why it matters
This commit adds support for the Bitcoin 'signet' test network to a small helper script (contrib/history.py). It simply lets users choose the signet network by picking a different port and reusing an existing testnet address parser. There is no security issue here.
No security action needed. Treat as a routine feature commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch extends the network selection logic in contrib/history.py to handle the ‘signet’ value for the –network argument. It assigns port 60601 and imports the same pycoin testnet (xtn) network object already used for testnet4. This is a feature addition to a contrib utility; it does not touch the electrs server, RPC handling, authentication, or any sensitive code path.
Changed components
contrib/history.pyInspect captured patch +3 / −0
diff --git a/contrib/history.py b/contrib/history.py
index aa22099..ea40d94 100755
--- a/contrib/history.py
+++ b/contrib/history.py
@@ -45,6 +45,9 @@ def main():
elif args.network == 'testnet4':
port = 40001
from pycoin.symbols.xtn import network
+ elif args.network == 'signet':
+ port = 60601
+ from pycoin.symbols.xtn import network
elif args.network == 'mainnet':
port = 50001
from pycoin.symbols.btc import network
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.