Skip to content
Permalink
Browse files

rpc/signet: show signet blockscript in 'getblockchaininfo'

  • Loading branch information...
kallewoof committed Aug 23, 2019
1 parent c15b1ff commit 17bcd56618676f0f6e8625e7a97d178c3b21371b
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/rpc/blockchain.cpp
@@ -1345,6 +1345,9 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
}

const Consensus::Params& consensusParams = Params().GetConsensus();
if (consensusParams.signet_blocks) {
obj.pushKV("signet-blockscript", HexStr(g_signet_blockscript));
}
UniValue softforks(UniValue::VOBJ);
BuriedForkDescPushBack(softforks, "bip34", consensusParams.BIP34Height);
BuriedForkDescPushBack(softforks, "bip66", consensusParams.BIP66Height);

0 comments on commit 17bcd56

Please sign in to comment.
You can’t perform that action at this time.