|
@ -325,14 +325,14 @@ class Network(util.DaemonThread): |
|
|
for request in requests: |
|
|
for request in requests: |
|
|
message_id = self.queue_request(request[0], request[1]) |
|
|
message_id = self.queue_request(request[0], request[1]) |
|
|
self.unanswered_requests[message_id] = request |
|
|
self.unanswered_requests[message_id] = request |
|
|
for addr in self.subscribed_addresses: |
|
|
|
|
|
self.queue_request('blockchain.address.subscribe', [addr]) |
|
|
|
|
|
self.queue_request('server.banner', []) |
|
|
self.queue_request('server.banner', []) |
|
|
self.queue_request('server.donation_address', []) |
|
|
self.queue_request('server.donation_address', []) |
|
|
self.queue_request('server.peers.subscribe', []) |
|
|
self.queue_request('server.peers.subscribe', []) |
|
|
for i in bitcoin.FEE_TARGETS: |
|
|
for i in bitcoin.FEE_TARGETS: |
|
|
self.queue_request('blockchain.estimatefee', [i]) |
|
|
self.queue_request('blockchain.estimatefee', [i]) |
|
|
self.queue_request('blockchain.relayfee', []) |
|
|
self.queue_request('blockchain.relayfee', []) |
|
|
|
|
|
for addr in self.subscribed_addresses: |
|
|
|
|
|
self.queue_request('blockchain.address.subscribe', [addr]) |
|
|
|
|
|
|
|
|
def get_status_value(self, key): |
|
|
def get_status_value(self, key): |
|
|
if key == 'status': |
|
|
if key == 'status': |
|
|