URI: 
       tnew command: getservers (fix for issue #306) - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 2a7f46ce554e2f906e2bb8a5a3e9f6942ab40f7b
   DIR parent 40e393187a96c8504b0c5e364af1e45251b36547
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Wed,  2 Oct 2013 13:50:36 +0200
       
       new command: getservers (fix for issue #306)
       
       Diffstat:
         M lib/commands.py                     |       3 +++
       
       1 file changed, 3 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/commands.py b/lib/commands.py
       t@@ -50,6 +50,7 @@ register_command('dumpprivkey',          1, 1, True,  True,  'Dumps a specified 
        register_command('dumpprivkeys',         0, 0, True,  True,  'dump all private keys')
        register_command('freeze',               1, 1, False, True,  'Freeze the funds at one of your wallet\'s addresses', 'freeze <address>')
        register_command('getbalance',           0, 1, False, False, 'Return the balance of your wallet, or of one account in your wallet', 'getbalance [<account>]')
       +register_command('getservers',           0, 0, False, False, 'Return the list of available servers')
        register_command('getaddressbalance',    1, 1, False, False, 'Return the balance of an address', 'getbalance <address>')
        register_command('getaddresshistory',    1, 1, False, False, 'Return the transaction history of an address', 'getaddresshistory <address>')
        register_command('getconfig',            1, 1, False, True,  'Return a configuration variable', 'getconfig <name>', config_options)
       t@@ -187,6 +188,8 @@ class Commands:
                if u: out["unconfirmed"] = str(Decimal(u)/100000000)
                return out
        
       +    def getservers(self):
       +        return self.network.get_servers()
        
            def getseed(self):
                import mnemonic