Wladimir J. van der Laan
11 years ago
5 changed files with 10 additions and 17 deletions
@ -1,2 +1,8 @@ |
|||||||
### BitRPC ### |
### BitRPC |
||||||
Allows for sending of all standard Bitcoin commands via RPC rather than as command line args. |
Allows for sending of all standard Bitcoin commands via RPC rather than as command line args. |
||||||
|
|
||||||
|
### Looking for Wallet Tools? |
||||||
|
BitRPC.py is able to do the exact same thing as `walletchangepass.py` and `walletunlock.py`. Their respective commands in BitRPC.py are: |
||||||
|
|
||||||
|
bitrpc.py walletpassphrasechange |
||||||
|
bitrpc.py walletpassphrase |
@ -1,4 +0,0 @@ |
|||||||
### Wallet Tools ### |
|
||||||
These are two simple python scripts which send the appropriate RPC commands to unlock a wallet and change a wallet password. **They are intended to prevent users from having to enter their password as a command-line argument which could then be stored in the console buffer/history in plaintext.** |
|
||||||
|
|
||||||
Both tools rely on bitcoin/bitcoind running with `server=1` and an `rpcuser` and `rpcpassword` set in `bitcoin.conf`. They can be easily modified for non-standard ports. [walletunlock.py](/contrib/wallettools/walletunlock.py) unlocks the wallet for 60 seconds by default, changeable in code, and both modules rely upon python-json-rpc. |
|
@ -1,5 +0,0 @@ |
|||||||
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) |
|
Loading…
Reference in new issue