]> Untitled Git - bdk-cli/commit
refactor: move sync to a helper function
authorMehmet Efe Umit <mehmetefeumit@protonmail.com>
Wed, 19 Nov 2025 06:14:22 +0000 (22:14 -0800)
committerMehmet Efe Umit <mehmetefeumit@protonmail.com>
Wed, 19 Nov 2025 06:14:22 +0000 (22:14 -0800)
commita28076af9b1016d5456de6c2b81d502beb05737d
tree7b75cd0b34dc31de67205cb465a93d7c760dfad5
parent7df419af0ff08aef555af570d5a87a91fb69d479
refactor: move sync to a helper function

This is a pre-requisite for adding Payjoin support. When the receiver
sends the Payjoin proposal to the sender to be broadcasted, they need to
sync the blockchain before checking if the Payjoin has indeed been
broadcasted. To do that, the sync function will need to be shared
between the two online commands.
src/handlers.rs