URI: 
       tinterface: faster bootstrap of backwards search - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 7dc5665ab1eab75cb6e94c5b4a08499d7638706a
   DIR parent 4d502eb2bfc18f20c03595b2e86041e42dfcd6da
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Sun, 16 Sep 2018 18:18:49 +0200
       
       interface: faster bootstrap of backwards search
       
       Diffstat:
         M electrum/interface.py               |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/interface.py b/electrum/interface.py
       t@@ -540,7 +540,8 @@ class Interface(PrintError):
                    return True
        
                bad, bad_header = height, header
       -        height -= 1
       +        local_max = max([0] + [x.height() for x in blockchain.blockchains.values()]) if 'mock' not in header else float('inf')
       +        height = min(local_max + 1, height - 1)
                while await iterate():
                    bad, bad_header = height, header
                    delta = self.tip - height