LLFourn / bdk_core_staging

Staging area for bdk_core initial development
15 stars 12 forks source link

Applying block APIs #193

Open LLFourn opened 1 year ago

LLFourn commented 1 year ago

We need a set of APIs to easily apply blocks to a keychain tracker. I propse the following:

In addition to adding these APIs it looks like KeychainTracker::determine_changeset has a TODO in it that needs to be fixed before this whole workflow will work properly:

https://github.com/LLFourn/bdk_core_staging/blob/0fb4e1b20c4d31ecb785509311124d3fc4222902/bdk_chain/src/keychain/keychain_tracker.rs#L73

I'm also open to other suggestions :)