Browse Source

Added wallet tools

Signed-off-by: David Perry <enmaku@gmail.com>
tags/v0.15.1
David Perry 10 years ago
parent
commit
8ad100a55b
2 changed files with 9 additions and 0 deletions
  1. 5
    0
      contrib/wallettools/walletchangepass.py
  2. 4
    0
      contrib/wallettools/walletunlock.py

+ 5
- 0
contrib/wallettools/walletchangepass.py 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)

+ 4
- 0
contrib/wallettools/walletunlock.py 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)

Loading…
Cancel
Save