Document that consensus.chaintip != consensus.nextblock just before an upgrade
This commit is contained in:
@@ -696,6 +696,8 @@ UniValue getblockchaininfo(const UniValue& params, bool fHelp)
|
|||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"getblockchaininfo\n"
|
"getblockchaininfo\n"
|
||||||
"Returns an object containing various state info regarding block chain processing.\n"
|
"Returns an object containing various state info regarding block chain processing.\n"
|
||||||
|
"\nNote that when the chain tip is at the last block before a network upgrade activation,\n"
|
||||||
|
"consensus.chaintip != consensus.nextblock.\n"
|
||||||
"\nResult:\n"
|
"\nResult:\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n"
|
" \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user