tfix estimatefee for daemon - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 713fa00d8626333501895e7350031e22b7ae0ada DIR parent 65c7dfafbc0892ebc94e04288adf1afbe6cf680f HTML Author: ThomasV <thomasv@gitorious> Date: Fri, 7 Aug 2015 10:54:32 +0200 fix estimatefee for daemon Diffstat: M lib/daemon.py | 2 +- M lib/network.py | 1 + M lib/network_proxy.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/daemon.py b/lib/daemon.py t@@ -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: DIR diff --git a/lib/network.py b/lib/network.py t@@ -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 = {} DIR diff --git a/lib/network_proxy.py b/lib/network_proxy.py t@@ -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]})