Ran
|
Jobs
1
|
Files
45
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
Merge bitcoindevkit/bdk#1128: feat: add bdk_sqlite crate implementing PersistBackend <a class=hub.com/bitcoindevkit/bdk/commit/475c5024ecc5d288f35fabb8fab2b62dbf67653b">475c5024e<a href="https://github.com/bitcoindevkit/bdk/commit/2eea0f4e906c9f943a0ed98153edd6214054b586"> feat(sqlite): add bdk_sqlite crate implementing PersistBackend backed by a SQLite database (Steve Myers) <a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/b8aa76cd050bc3c2eac776ecbd9b4e2ab3e2590e">b8aa76cd0</a><a href="https://github.com/bitcoindevkit/bdk/commit/2eea0f4e906c9f943a0ed98153edd6214054b586"> feat(wallet): use the new `CombinedChangeSet` of `bdk_persist` (志宇) </a><a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/0958ff56b20c1325a7da5d5f21e7ac836c601f1f">0958ff56b</a><a href="https://github.com/bitcoindevkit/bdk/commit/2eea0f4e906c9f943a0ed98153edd6214054b586"> feat(persist): introduce `CombinedChangeSet` (志宇) </a><a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/54942a902d3203ee59731f35d2a1c402ac626878">54942a902</a><a href="https://github.com/bitcoindevkit/bdk/commit/2eea0f4e906c9f943a0ed98153edd6214054b586"> ci: bump build_docs rust version to nightly-2024-05-12 (Steve Myers) </a><a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/d975a48e7c519a703441e74058321021957b177f">d975a48e7</a> docs: update README MSRV pinning to match CI (Steve Myers) Pull request description: ### Description Add "bdk_sqlite_store" crate implementing `PersistBackend` backed by a SQLite database. ### Notes to the reviewers In addition to adding a SQLite based `PersistenceBackend` this PR also: * add `CombinedChangeSet` in `bdk_persist` and update `wallet` crate to use it. * updates the `wallet/tests` to also use this new sqlite store crate. * updates `example-crates/wallet_esplora_async` to use this new sqlite store crate. * fixes out of date README instructions for MSRV. * bumps the ci `build_docs` job to rust `nightly-2024-05-12`. ### Changelog notice Changed - Update Wallet to use CombinedChangeSet for persistence. Added - Add CombinedChangeSet in bdk_persist crate. - Add bdk_sqlite crate implementing SQLite based PersistenceBackend storage for CombinedChangeSet. ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [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 ACKs for top commit: evanlinjin: ACK 475c5024ecc5d288f35fabb8fab2b62dbf67653b Tree-SHA512: 72565127994fbfff34d... (continued)
657 of 688 new or added lines in 4 files covered. (95.49%)
11283 of 13580 relevant lines covered (83.09%)
16943.46 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.97 |
crates/persist/src/changeset.rs | |
3 |
95.45 |
crates/sqlite/src/schema.rs | |
9 |
0.0 |
crates/sqlite/src/lib.rs | |
18 |
96.9 |
crates/sqlite/src/store.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 9209951944.1 | 45 |
83.09 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|