Ava Chow 67bfe28995
Merge bitcoin/bitcoin#31531: rpc: Add signet_challenge field to getblockchaininfo and getmininginfo
ecaa786cc103cf7cc63ae899ec13d81a54e2fd1e 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:
    utACK ecaa786cc103cf7cc63ae899ec13d81a54e2fd1e
  achow101:
    ACK ecaa786cc103cf7cc63ae899ec13d81a54e2fd1e
  i-am-yuvi:
    Concept ACK ecaa786cc103cf7cc63ae899ec13d81a54e2fd1e
  Sjors:
    ACK ecaa786cc103cf7cc63ae899ec13d81a54e2fd1e
  zaidmstrr:
    Tested ACK [ecaa786](ecaa786cc1)

Tree-SHA512: 9ccf4ae634ee74353a2a895efb881fdc62ae703a134ccd219da2cd6080c7d38319e689054584722457a7cc79004bd6022292a3b0b90eaab9f7003564665e1ea4
2024-12-30 13:31:08 -05:00
..
2024-06-18 18:47:51 +02:00
2024-06-18 18:47:51 +02:00