File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1377,6 +1377,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
13771377 " \" chainwork\" : \" xxxx\" (string) total amount of work in active chain, in hexadecimal\n "
13781378 " \" size_on_disk\" : xxxxxx, (numeric) the estimated size of the block and undo files on disk\n "
13791379 " \" pruned\" : xx, (boolean) if the blocks are subject to pruning\n "
1380+ " \" current_params_root\" : \" xxxx\" , (string) the root of the currently active dynafed params\n "
13801381 " \" signblock_asm\" : \" xxxx\" , (string) ASM of sign block challenge data from genesis block.\n "
13811382 " \" signblock_hex\" : \" xxxx\" , (string) Hex of sign block challenge data from genesis block.\n "
13821383 " \" current_signblock_asm\" : \" xxxx\" , (string) ASM of sign block challenge data enforced on the next block.\n "
@@ -1459,6 +1460,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
14591460 obj.pushKV (" extension_space" , arr);
14601461 } else {
14611462 const DynaFedParamEntry entry = ComputeNextBlockFullCurrentParameters (chainActive.Tip (), chainparams.GetConsensus ());
1463+ obj.pushKV (" current_params_root" , entry.calculate_root ().GetHex ());
14621464 obj.pushKV (" current_signblock_asm" , ScriptToAsmStr (entry.m_signblockscript ));
14631465 obj.pushKV (" current_signblock_hex" , HexStr (entry.m_signblockscript ));
14641466 obj.pushKV (" max_block_witness" , (uint64_t )entry.m_signblock_witness_limit );
You can’t perform that action at this time.
0 commit comments