Changeset View
Changeset View
Standalone View
Standalone View
test/functional/mempool_persist.py
Show All 33 Lines | Test is as follows: | ||||
- Verify that savemempool throws when the RPC is called if | - Verify that savemempool throws when the RPC is called if | ||||
node1 can't write to disk. | node1 can't write to disk. | ||||
""" | """ | ||||
from decimal import Decimal | from decimal import Decimal | ||||
import os | import os | ||||
import time | import time | ||||
from test_framework.test_framework import BitcoinTestFramework | |||||
from test_framework.p2p import P2PTxInvStore | from test_framework.p2p import P2PTxInvStore | ||||
from test_framework.test_framework import BitcoinTestFramework | |||||
from test_framework.util import ( | from test_framework.util import ( | ||||
assert_equal, | assert_equal, | ||||
assert_greater_than_or_equal, | assert_greater_than_or_equal, | ||||
assert_raises_rpc_error, | assert_raises_rpc_error, | ||||
connect_nodes, | connect_nodes, | ||||
disconnect_nodes, | disconnect_nodes, | ||||
wait_until, | wait_until, | ||||
) | ) | ||||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |