Changeset View
Changeset View
Standalone View
Standalone View
test/functional/feature_notifications.py
Show All 11 Lines | |||||
FORK_WARNING_MESSAGE = "Warning: Large-work fork detected, forking after block {}\n" | FORK_WARNING_MESSAGE = "Warning: Large-work fork detected, forking after block {}\n" | ||||
class NotificationsTest(BitcoinTestFramework): | class NotificationsTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
def skip_test_if_missing_module(self): | |||||
self.skip_if_no_wallet() | |||||
def setup_network(self): | def setup_network(self): | ||||
self.alert_filename = os.path.join(self.options.tmpdir, "alert.txt") | self.alert_filename = os.path.join(self.options.tmpdir, "alert.txt") | ||||
self.block_filename = os.path.join(self.options.tmpdir, "blocks.txt") | self.block_filename = os.path.join(self.options.tmpdir, "blocks.txt") | ||||
self.tx_filename = os.path.join( | self.tx_filename = os.path.join( | ||||
self.options.tmpdir, "transactions.txt") | self.options.tmpdir, "transactions.txt") | ||||
# -alertnotify and -blocknotify on node0, walletnotify on node1 | # -alertnotify and -blocknotify on node0, walletnotify on node1 | ||||
self.extra_args = [["-blockversion=2", | self.extra_args = [["-blockversion=2", | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |