Encrypts the wallet. This causes bitcoind to shutdown, so this method takes care of cleaning up resources.
(self, passphrase)
| 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. |