mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-31 18:02:36 +02:00
ecaa786cc1
rpc: add signet_challenge field to getblockchaininfo and getmininginfo (Ash Manning) Pull request description: Signet challenges are currently only available via `getblocktemplate` RPC. `getblockchaininfo` and `getmininginfo` both provide inadequate information to distinguish signets. Since these are the RPCs used to determine the current network, they should also provide the signet challenge for signets. Test coverage is included in `test/functional/feature_signet.py`. ACKs for top commit: sipa: utACKecaa786cc1
achow101: ACKecaa786cc1
i-am-yuvi: Concept ACKecaa786cc1
Sjors: ACKecaa786cc1
zaidmstrr: Tested ACK [ecaa786
](ecaa786cc1
) Tree-SHA512: 9ccf4ae634ee74353a2a895efb881fdc62ae703a134ccd219da2cd6080c7d38319e689054584722457a7cc79004bd6022292a3b0b90eaab9f7003564665e1ea4