Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc_rpc_getavalancheinfo.py
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | def run_test(self): | ||||
"connected_node_count": 0, | "connected_node_count": 0, | ||||
"pending_node_count": 0, | "pending_node_count": 0, | ||||
} | } | ||||
}) | }) | ||||
self.log.info("The test node has a proof") | self.log.info("The test node has a proof") | ||||
self.restart_node(0, self.extra_args[0] + [ | self.restart_node(0, self.extra_args[0] + [ | ||||
'-avalanche=1', | |||||
'-avaproof={}'.format(proof.serialize().hex()), | '-avaproof={}'.format(proof.serialize().hex()), | ||||
'-avamasterkey={}'.format(bytes_to_wif(privkey.get_bytes())) | '-avamasterkey={}'.format(bytes_to_wif(privkey.get_bytes())) | ||||
]) | ]) | ||||
assert_avalancheinfo({ | assert_avalancheinfo({ | ||||
"ready_to_poll": False, | "ready_to_poll": False, | ||||
"local": { | "local": { | ||||
"verified": False, | "verified": False, | ||||
"proofid": uint256_hex(proof.proofid), | "proofid": uint256_hex(proof.proofid), | ||||
▲ Show 20 Lines • Show All 320 Lines • Show Last 20 Lines |