Samourai-Wallet / samourai-dojo

End-to-end bitcoin wallet backing server for powering Samourai Wallet and other light wallets
https://samouraiwallet.com/dojo
Other
170 stars 79 forks source link

add dynamic switch of startup mode #144

Closed kenshin-samourai closed 4 years ago

kenshin-samourai commented 4 years ago

implement a dynamic computation of the threshold defining the startup mode of the tracker (ibd or normal).

ibd mode is used if a large lag is detected between the tracker and the tip (more than 13k blocks).

it implies that a manual rescan will be needed if dojo is stopped for more than 3 months.