Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc_p2p_proof_inventory.py
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | def on_inv(self, message): | ||||
self.proof_invs_counter += 1 | self.proof_invs_counter += 1 | ||||
class ProofInventoryTest(BitcoinTestFramework): | class ProofInventoryTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 5 | self.num_nodes = 5 | ||||
self.extra_args = [[ | self.extra_args = [[ | ||||
'-enableavalanche=1', | '-enableavalanche=1', | ||||
'-avaproofstakeutxoconfirmations=1', | |||||
'-avacooldown=0', | '-avacooldown=0', | ||||
'-whitelist=noban@127.0.0.1', | '-whitelist=noban@127.0.0.1', | ||||
]] * self.num_nodes | ]] * self.num_nodes | ||||
def test_send_proof_inv(self): | def test_send_proof_inv(self): | ||||
self.log.info("Test sending a proof to our peers") | self.log.info("Test sending a proof to our peers") | ||||
node = self.nodes[0] | node = self.nodes[0] | ||||
▲ Show 20 Lines • Show All 240 Lines • Show Last 20 Lines |