MCPcopy Create free account
hub / github.com/ElementsProject/elements / run_test

Method run_test

test/functional/p2p_blocksonly.py:21–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 self.extra_args = [["-blocksonly"]]
20
21 def run_test(self):
22 self.miniwallet = MiniWallet(self.nodes[0])
23 # Add enough mature utxos to the wallet, so that all txs spend confirmed coins
24 self.miniwallet.rescan_utxos()
25
26 self.blocksonly_mode_tests()
27 self.blocks_relay_conn_tests()
28
29 def blocksonly_mode_tests(self):
30 self.log.info("Tests with node running in -blocksonly mode")

Callers

nothing calls this directly

Calls 4

blocksonly_mode_testsMethod · 0.95
MiniWalletClass · 0.90
rescan_utxosMethod · 0.80

Tested by

no test coverage detected