lbcwallet/chain
Wilmer Paulino 4a913d02ea
chain: only allow bitcoind block notifications at tip after NotifyBlocks
One could argue that the behavior before this commit was incorrect, as
the ChainClient interface expects a call to NotifyBlocks before
notifying blocks at tip, so we decide to fix this.

Since we now wait for the chain backend to be considered "current"
before proceeding to sync the wallet with it, any blocks that were
processed while waiting would result in being notified and scanned
twice, once by processing it at tip, and another while rescanning the
wallet, which is not desirable.
2019-06-13 18:09:06 -07:00
..
bitcoind_client.go chain: only allow bitcoind block notifications at tip after NotifyBlocks 2019-06-13 18:09:06 -07:00
bitcoind_conn.go chain: allow setting the client's birthday after creation 2018-09-12 14:24:30 -07:00
block_filterer.go chain: update block filterer to map outpoints to addrs 2018-07-16 19:47:17 -07:00
block_filterer_test.go chain: fix Fatalf format verb error 2019-05-11 13:05:17 -07:00
interface.go chain: add IsCurrent method to chain.Interface 2019-06-13 18:08:59 -07:00
log.go Use LICENSE file and short license headers. 2016-02-28 22:22:34 -05:00
neutrino.go chain: add IsCurrent method to chain.Interface 2019-06-13 18:08:59 -07:00
queue.go chain: add concurrent unbounded queue implementation 2018-07-26 16:38:54 -07:00
rpc.go chain: add IsCurrent method to chain.Interface 2019-06-13 18:08:59 -07:00