mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge a6c8aed1f1 into merged_master (Bitcoin PR #16817)
This commit is contained in:
commit
f2240a15bf
2 changed files with 4 additions and 4 deletions
|
|
@ -1254,7 +1254,7 @@ static void BIP9SoftForkDescPushBack(UniValue& softforks, const std::string &nam
|
|||
{
|
||||
bip9.pushKV("bit", consensusParams.vDeployments[id].bit);
|
||||
}
|
||||
bip9.pushKV("startTime", consensusParams.vDeployments[id].nStartTime);
|
||||
bip9.pushKV("start_time", consensusParams.vDeployments[id].nStartTime);
|
||||
bip9.pushKV("timeout", consensusParams.vDeployments[id].nTimeout);
|
||||
int64_t since_height = VersionBitsTipStateSinceHeight(consensusParams, id);
|
||||
bip9.pushKV("since", since_height);
|
||||
|
|
@ -1317,7 +1317,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
|
|||
" \"bip9\": { (object) status of bip9 softforks (only for \"bip9\" type)\n"
|
||||
" \"status\": \"xxxx\", (string) one of \"defined\", \"started\", \"locked_in\", \"active\", \"failed\"\n"
|
||||
" \"bit\": xx, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for \"started\" status)\n"
|
||||
" \"startTime\": xx, (numeric) the minimum median time past of a block at which the bit gains its meaning\n"
|
||||
" \"start_time\": xx, (numeric) the minimum median time past of a block at which the bit gains its meaning\n"
|
||||
" \"timeout\": xx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in\n"
|
||||
" \"since\": xx, (numeric) height of the first block to which the status applies\n"
|
||||
" \"statistics\": { (object) numeric statistics about BIP9 signalling for a softfork\n"
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ class BlockchainTest(BitcoinTestFramework):
|
|||
'type': 'bip9',
|
||||
'bip9': {
|
||||
'status': 'defined',
|
||||
'startTime': 2147483648,
|
||||
'start_time': 2147483648,
|
||||
'timeout': 9223372036854775807,
|
||||
'since': 0
|
||||
},
|
||||
|
|
@ -143,7 +143,7 @@ class BlockchainTest(BitcoinTestFramework):
|
|||
'bip9': {
|
||||
'status': 'started',
|
||||
'bit': 28,
|
||||
'startTime': 0,
|
||||
'start_time': 0,
|
||||
'timeout': 0x7fffffffffffffff, # testdummy does not have a timeout so is set to the max int64 value
|
||||
'since': 144,
|
||||
'statistics': {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue