MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / node_encrypt_wallet

Method node_encrypt_wallet

test/functional/test_framework/test_node.py:308–314  ·  view source on GitHub ↗

Encrypts the wallet. This causes bitcoind to shutdown, so this method takes care of cleaning up resources.

(self, passphrase)

Source from the content-addressed store, hash-verified

306 self._raise_assertion_error(assert_msg)
307
308 def node_encrypt_wallet(self, passphrase):
309 """"Encrypts the wallet.
310
311 This causes bitcoind to shutdown, so this method takes
312 care of cleaning up resources."""
313 self.encryptwallet(passphrase)
314 self.wait_until_stopped()
315
316 def add_p2p_connection(self, p2p_conn, *, wait_for_verack=True, **kwargs):
317 """Add a p2p connection to the node.

Callers 5

run_testMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80

Calls 1

wait_until_stoppedMethod · 0.95

Tested by

no test coverage detected