Permalink
Browse files

Added wallet tools

Signed-off-by: David Perry <enmaku@gmail.com>
  • Loading branch information...
enmaku committed Oct 3, 2011
1 parent 3504801 commit 8ad100a55be07efd481641319efe70ba430e8d23
Showing with 9 additions and 0 deletions.
  1. +5 −0 contrib/wallettools/walletchangepass.py
  2. +4 −0 contrib/wallettools/walletunlock.py
@@ -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)
@@ -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)

0 comments on commit 8ad100a

Please sign in to comment.