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 @@ -1309,6 +1309,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
13091309 " \" chainwork\" : \" xxxx\" (string) total amount of work in active chain, in hexadecimal\n "
13101310 " \" size_on_disk\" : xxxxxx, (numeric) the estimated size of the block and undo files on disk\n "
13111311 " \" pruned\" : xx, (boolean) if the blocks are subject to pruning\n "
1312+ " \" current_params_root\" : \" xxxx\" , (string) the root of the currently active dynafed params in hex\n "
13121313 " \" signblock_asm\" : \" xxxx\" , (string) ASM of sign block challenge data from genesis block.\n "
13131314 " \" signblock_hex\" : \" xxxx\" , (string) Hex of sign block challenge data from genesis block.\n "
13141315 " \" current_signblock_asm\" : \" xxxx\" , (string) ASM of sign block challenge data enforced on the next block.\n "
@@ -1387,6 +1388,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
13871388 obj.pushKV (" extension_space" , arr);
13881389 } else {
13891390 const DynaFedParamEntry entry = ComputeNextBlockFullCurrentParameters (::ChainActive ().Tip (), chainparams.GetConsensus ());
1391+ obj.pushKV (" current_params_root" , entry.CalculateRoot ().GetHex ());
13901392 obj.pushKV (" current_signblock_asm" , ScriptToAsmStr (entry.m_signblockscript ));
13911393 obj.pushKV (" current_signblock_hex" , HexStr (entry.m_signblockscript ));
13921394 obj.pushKV (" max_block_witness" , (uint64_t )entry.m_signblock_witness_limit );
You can’t perform that action at this time.
0 commit comments