Browse Source

Added wallet tools

Signed-off-by: David Perry <enmaku@gmail.com>
miguelfreitas
David Perry 13 years ago
parent
commit
8ad100a55b
  1. 5
      contrib/wallettools/walletchangepass.py
  2. 4
      contrib/wallettools/walletunlock.py

5
contrib/wallettools/walletchangepass.py

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
from jsonrpc import ServiceProxy
access = ServiceProxy("http://127.0.0.1:8332")
pwd = raw_input("Enter old wallet passphrase: ")
pwd2 = raw_input("Enter new wallet passphrase: ")
access.walletpassphrasechange(pwd, pwd2)

4
contrib/wallettools/walletunlock.py

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
from jsonrpc import ServiceProxy
access = ServiceProxy("http://127.0.0.1:8332")
pwd = raw_input("Enter wallet passphrase: ")
access.walletpassphrase(pwd, 60)
Loading…
Cancel
Save