trename command dumpprivkey as getprivatekeys - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 563a7d99b9c0a471f3f7512581ff159307af38ff (DIR) parent 90f5133983bcf9856745333e77e011b5648dad83 (HTM) Author: ThomasV <thomasv@gitorious> Date: Mon, 5 May 2014 09:11:36 +0200 rename command dumpprivkey as getprivatekeys Diffstat: M lib/commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- (DIR) diff --git a/lib/commands.py b/lib/commands.py t@@ -63,8 +63,8 @@ register_command('createmultisig', 2, 2, False, True, False, 'similar to register_command('createrawtransaction', 2, 2, False, True, False, 'similar to bitcoind\'s command') register_command('deseed', 0, 0, False, True, False, 'Remove seed from wallet, creating a seedless, watching-only wallet.') register_command('decoderawtransaction', 1, 1, False, False, False, 'similar to bitcoind\'s command') -register_command('dumpprivkey', 1, 1, False, True, True, 'Dumps a specified private key for a given address', 'dumpprivkey <bitcoin address>') -register_command('dumpprivkeys', 0, 0, False, True, True, 'dump all private keys') +register_command('getprivatekeys', 1, 1, False, True, True, 'Get the private keys of a given address', 'dumpprivkey <bitcoin address>') +register_command('dumpprivkeys', 0, 0, False, True, True, 'Dump all private keys in your wallet') register_command('freeze', 1, 1, False, True, True, 'Freeze the funds at one of your wallet\'s addresses', 'freeze <address>') register_command('getbalance', 0, 1, True, True, False, 'Return the balance of your wallet, or of one account in your wallet', 'getbalance [<account>]') register_command('getservers', 0, 0, True, False, False, 'Return the list of available servers') t@@ -193,7 +193,7 @@ class Commands: def unfreeze(self,addr): return self.wallet.unfreeze(addr) - def dumpprivkey(self, addr): + def getprivatekeys(self, addr): return self.wallet.get_private_key(addr, self.password) def dumpprivkeys(self, addresses = None):