We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76df9c4 commit 09f18b4Copy full SHA for 09f18b4
1 file changed
bitcoin/rpc.py
@@ -654,6 +654,17 @@ def validateaddress(self, address):
654
r['pubkey'] = unhexlify(r['pubkey'])
655
return r
656
657
+ def unlockwallet(self, password, timeout=60):
658
+ """Stores the wallet decryption key in memory for 'timeout' seconds.
659
+
660
+ password - The wallet passphrase.
661
662
+ timeout - The time to keep the decryption key in seconds.
663
+ (default=60)
664
+ """
665
+ r = self._call('walletpassphrase', password, timeout)
666
+ return r
667
668
def _addnode(self, node, arg):
669
r = self._call('addnode', node, arg)
670
0 commit comments