Changeset View
Changeset View
Standalone View
Standalone View
test/functional/rpc_blockchain.py
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | def _test_getblockchaininfo(self): | ||||
assert_equal(res['softforks'], { | assert_equal(res['softforks'], { | ||||
'testdummy': { | 'testdummy': { | ||||
'type': 'bip9', | 'type': 'bip9', | ||||
'bip9': { | 'bip9': { | ||||
'status': 'started', | 'status': 'started', | ||||
'bit': 28, | 'bit': 28, | ||||
'start_time': 0, | 'start_time': 0, | ||||
# testdummy does not have a timeout so is set to the max int64 value | # testdummy does not have a timeout so is set to the max | ||||
# int64 value | |||||
'timeout': 0x7fffffffffffffff, | 'timeout': 0x7fffffffffffffff, | ||||
'since': 144, | 'since': 144, | ||||
'statistics': { | 'statistics': { | ||||
'period': 144, | 'period': 144, | ||||
'threshold': 108, | 'threshold': 108, | ||||
'elapsed': 57, | 'elapsed': 57, | ||||
'count': 57, | 'count': 57, | ||||
'possible': True, | 'possible': True, | ||||
▲ Show 20 Lines • Show All 262 Lines • Show Last 20 Lines |