The signblock_* fields in the getblockchaininfo RPC are caclculated in src/rpc/blockchain.cpp as follows:
CScript sign_block_script = chainparams.GetConsensus().signblockscript;
obj.pushKV("signblock_asm", ScriptToAsmStr(sign_block_script));
obj.pushKV("signblock_hex", HexStr(sign_block_script));
This is encoding the initial block signing script that the network was launched with at genesis.
However, this will become incorrect when the first dynafed transition which changes this script takes place.
The
signblock_*fields in thegetblockchaininfoRPC are caclculated insrc/rpc/blockchain.cppas follows:This is encoding the initial block signing script that the network was launched with at genesis.
However, this will become incorrect when the first dynafed transition which changes this script takes place.