We are passed a timestamp and we want to know down to what height we should rescan / roll back. That's helpful for it. It was a bit tricky although it's a simple binary search.. So to make sure i got it right i made it a standalone function in a utils/ module to be able to unit test it. See the TODO, it's theoretically not precisely entirely correct. But it's good enough for now.
Description
A fork of https://github.com/wizardsardine/liana with removed loopback restrictions to allow connecting to a custom remote bitcoin core node
Languages
Rust
90.4%
Python
8.5%
Shell
0.5%
Scheme
0.3%
Nix
0.3%