From: David Perry Date: Mon, 3 Oct 2011 21:04:11 +0000 (-0700) Subject: Added wallet tools X-Git-Tag: v0.4.0-unstable~226^2~111^2~1 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=8ad100a55be07efd481641319efe70ba430e8d23;hp=35048017783fcd69fa4f77e4ca557e4f48472ef4;p=novacoin.git Added wallet tools Signed-off-by: David Perry --- diff --git a/contrib/wallettools/walletchangepass.py b/contrib/wallettools/walletchangepass.py new file mode 100644 index 0000000..30f3f5b --- /dev/null +++ b/contrib/wallettools/walletchangepass.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) \ No newline at end of file diff --git a/contrib/wallettools/walletunlock.py b/contrib/wallettools/walletunlock.py new file mode 100644 index 0000000..f847c6f --- /dev/null +++ b/contrib/wallettools/walletunlock.py @@ -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) \ No newline at end of file