bdk/crates/file_store
志宇 06a956ad20
feat!: change load_from_persistence to return an option
`PersistBackend::is_empty` is removed. Instead, `load_from_persistence`
returns an option of the changeset. `None` means persistence is empty.
This is a better API than a separate method. We can now differentiate
between a persisted single changeset and nothing persisted.

`Store::aggregate_changeset` is refactored to return a `Result` instead
of a tuple. A new error type (`AggregateChangesetsError`) is introduced
to include the partially-aggregated changeset in the error. This is a
more idiomatic API.
2023-11-16 07:07:49 +08:00
..
2023-10-11 17:30:36 -05:00

BDK File Store

This is a simple append-only flat file implementation of Persist.

The main structure is Store, which can be used with bdk's Wallet to persist wallet data into a flat file.