Added wallet tools

Signed-off-by: David Perry <enmaku@gmail.com>
master
David Perry 2011-10-03 14:04:11 -07:00
parent 3504801778
commit 8ad100a55b
2 changed files with 9 additions and 0 deletions

View File

@ -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)

View File

@ -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)