bdk icon indicating copy to clipboard operation
bdk copied to clipboard

Multi descriptor: Introduce `DatabaseFactory` trait

Open evanlinjin opened this issue 3 years ago • 0 comments

Description

This is part of #486 to add multi-descriptor wallet support to BDK.

As each DescriptorTracker should have it's own database, and a MultiTracker structure will handle an aggregate of DescriptorTrackers, we need a factory structure that the MultiTracker can use to create Databases for each DescriptorTracker.

Notes to the reviewers

Checklists

All Submissions:

  • [x] I've signed all my commits
  • [x] I followed the contribution guidelines
  • [x] I ran cargo fmt and cargo clippy before committing

New Features:

  • [x] I've added tests for the new feature
  • [x] I've added docs for the new feature
  • [x] I've updated CHANGELOG.md

evanlinjin avatar Jul 05 '22 17:07 evanlinjin