electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 713fa00d8626333501895e7350031e22b7ae0ada
parent 65c7dfafbc0892ebc94e04288adf1afbe6cf680f
Author: ThomasV <thomasv@gitorious>
Date:   Fri,  7 Aug 2015 10:54:32 +0200

fix estimatefee for daemon

Diffstat:
Mlib/daemon.py | 2+-
Mlib/network.py | 1+
Mlib/network_proxy.py | 2+-
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/daemon.py b/lib/daemon.py @@ -127,7 +127,7 @@ class NetworkServer(util.DaemonThread): self.requests = {} def add_client(self, client): - for key in ['status', 'banner', 'updated', 'servers', 'interfaces']: + for key in ['fee', 'status', 'banner', 'updated', 'servers', 'interfaces']: value = self.network.get_status_value(key) client.response_queue.put({'method':'network.status', 'params':[key, value]}) with self.lock: diff --git a/lib/network.py b/lib/network.py @@ -156,6 +156,7 @@ class Network(util.DaemonThread): self.recent_servers = self.read_recent_servers() self.banner = '' + self.fee = None self.heights = {} self.merkle_roots = {} self.utxo_roots = {} diff --git a/lib/network_proxy.py b/lib/network_proxy.py @@ -50,7 +50,7 @@ class NetworkProxy(util.DaemonThread): self.pipe = util.QueuePipe() self.network = Network(self.pipe, config) self.network.start() - for key in ['status','banner','updated','servers','interfaces']: + for key in ['fee','status','banner','updated','servers','interfaces']: value = self.network.get_status_value(key) self.pipe.get_queue.put({'method':'network.status', 'params':[key, value]})