]> Untitled Git - bdk/commit
[sync] Improve sync
authorRiccardo Casatta <riccardo@casatta.it>
Mon, 16 Nov 2020 11:18:34 +0000 (12:18 +0100)
committerRiccardo Casatta <riccardo@casatta.it>
Tue, 17 Nov 2020 08:39:43 +0000 (09:39 +0100)
commitc5dba115a0b76906a1c60cbf38e398fa0d03864f
tree587a2087e3a3b16e6e978d34ebbeeba72d583382
parent755d76bf544e88fae7342f35eee97f2629183776
[sync] Improve sync

Make every request in batch, to save round trip times
Fetch timestamp of blockheader to populate timestamp field in transaction
Remove listunspent requests because we can compute it from our history
src/blockchain/electrum.rs
src/blockchain/esplora.rs
src/blockchain/mod.rs
src/blockchain/utils.rs