electrum

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

commit acd0ea3ff371af2e2a528b8b1cee9f4913cc5ce1
parent 65bce569e40fb6bae362cdf6fbcefb83cad656d9
Author: ThomasV <thomasv@electrum.org>
Date:   Mon, 17 Jul 2017 09:51:31 +0200

cleanup dead code

Diffstat:
Mlib/network.py | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)

diff --git a/lib/network.py b/lib/network.py @@ -804,15 +804,6 @@ class Network(util.DaemonThread): interface.print_error("unsolicited header",interface.request, height) self.connection_down(interface.server) return - self.on_header(interface, header) - - def can_connect(self, header): - for blockchain in self.blockchains.values(): - if blockchain.can_connect(header): - return blockchain - - def on_header(self, interface, header): - height = header.get('block_height') if interface.mode == 'checkpoint': b = get_blockchain(header) if b: