Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc_rpc_avalancheproof.py
Show All 20 Lines | from test_framework.messages import ( | ||||
FromHex, | FromHex, | ||||
) | ) | ||||
from test_framework.p2p import P2PInterface, p2p_lock | from test_framework.p2p import P2PInterface, p2p_lock | ||||
from test_framework.test_framework import BitcoinTestFramework | from test_framework.test_framework import BitcoinTestFramework | ||||
from test_framework.test_node import ErrorMatch | from test_framework.test_node import ErrorMatch | ||||
from test_framework.util import ( | from test_framework.util import ( | ||||
append_config, | append_config, | ||||
assert_equal, | assert_equal, | ||||
assert_raises_rpc_error, | |||||
connect_nodes, | connect_nodes, | ||||
wait_until, | wait_until, | ||||
assert_raises_rpc_error, | |||||
) | ) | ||||
from test_framework.wallet_util import bytes_to_wif | from test_framework.wallet_util import bytes_to_wif | ||||
AVALANCHE_MAX_PROOF_STAKES = 1000 | AVALANCHE_MAX_PROOF_STAKES = 1000 | ||||
PROOF_DUST_THRESHOLD = 1000000.0 | PROOF_DUST_THRESHOLD = 1000000.0 | ||||
"""Minimum amount per UTXO in a proof (in coins, not in satoshis)""" | """Minimum amount per UTXO in a proof (in coins, not in satoshis)""" | ||||
▲ Show 20 Lines • Show All 442 Lines • Show Last 20 Lines |