We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d69e88f commit dbe010aCopy full SHA for dbe010a
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