LLFourn / bdk_core_staging

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

Evan's version of the electrum example #107

Closed evanlinjin closed 1 year ago

evanlinjin commented 1 year ago

Why?

There are certain benefits to this approach.

  1. We can use the existing conflict-resolution logic within ChainGraph::determine_changeset.
  2. The resultant change_graph::ChangeSet structures of the new API methods are "safe" to use when applying into ChainGraph and continue to be safe when merged together and then applied.

Drawbacks

  1. We need apply into ChangeGraph before persisting.