Steve Myers
Steve Myers
Suggestion from https://github.com/bitcoindevkit/bdk/issues/1153#issuecomment-1752263555 ```rust let things_I_am_interested_in = wallet.lock().unwrap().start_sync(); let update = electrum_or_esplora.sync(things_i_am_interested_in)?; wallet.lock().unwrap().apply_update(update)?: ``` @evanlinjin where I'm at right now is trying to figure out what wallet data is needed...
I added Wallet `start_scan` and `start_sync` functions as an example of what I have in mind. Once I have confirmation the types are correct I need to add some tests...
This will need a little rework after #1178 is merged.
Also based on poll on discord I'm renaming function names to `full_scan` and `sync`, see: https://discord.com/channels/753336465005608961/753367451319926827/1171551358353158164
I've rebased post alpha.4 tag.
A quick update. I've spent the past few days trying to figure out how to change the FullScanRequest to be able to add an inspect function for the SPKs but...
I finally got this to build with an inspect function for the `FullScanRequest`. My next steps are to add tests, update examples to use inspect functions, and verify this API...
I rebased this PR on #1380. In the process I also figured out a way to use the generic K for the function passed into `FullScanRequest::inspect_spks()`. To do it I...
closing in favor of #1413
I added this to the alpha.3 milestone since we need to get questions like this figured out for bdk wallet API also (if we're going to change it).