Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc_rpc_getavalancheinfo.py
| Show All 14 Lines | |||||
| class GetAvalancheInfoTest(BitcoinTestFramework): | class GetAvalancheInfoTest(BitcoinTestFramework): | ||||
| def set_test_params(self): | def set_test_params(self): | ||||
| self.num_nodes = 1 | self.num_nodes = 1 | ||||
| self.extra_args = [['-enableavalanche=1', | self.extra_args = [['-enableavalanche=1', | ||||
| '-avacooldown=', | '-avacooldown=', | ||||
| '-avatimeout=100', | '-avatimeout=100', | ||||
| '-avaminquorumstake=0', | |||||
| '-enableavalanchepeerdiscovery=1']] | '-enableavalanchepeerdiscovery=1']] | ||||
| def run_test(self): | def run_test(self): | ||||
| node = self.nodes[0] | node = self.nodes[0] | ||||
| privkey, proof = gen_proof(node) | privkey, proof = gen_proof(node) | ||||
| is_legacy = isinstance(proof, LegacyAvalancheProof) | is_legacy = isinstance(proof, LegacyAvalancheProof) | ||||
| ▲ Show 20 Lines • Show All 179 Lines • Show Last 20 Lines | |||||