mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-15 22:12:49 +02:00
5
contrib/wallettools/walletchangepass.py
Normal file
5
contrib/wallettools/walletchangepass.py
Normal 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
contrib/wallettools/walletunlock.py
Normal file
4
contrib/wallettools/walletunlock.py
Normal 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)
|
Reference in New Issue
Block a user