• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bitcoindevkit / bdk / 7429728695
79%

Build:
DEFAULT BRANCH: master
Ran 06 Jan 2024 05:34AM UTC
Jobs 1
Files 39
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jan 2024 05:30AM UTC coverage: 80.696% (-0.02%) from 80.72%
7429728695

push

github

evanlinjin
Merge bitcoindevkit/bdk#1256: cherry-pick feat(wallet)!: add `NonEmptyDatabase` variant to `NewError`

<a class=hub.com/bitcoindevkit/bdk/commit/a1d34afa2455d93d23a36fd78d94aa79c7e493d1">a1d34afa2 feat(wallet)!: add `NonEmptyDatabase` variant to `NewError` (志宇)

Pull request description:

  ### Description

  `NewError` is the error type when constructing a wallet with `Wallet::new`. We want this to return an error when the database already contains data (in which case, the caller should use `load` or `new_or_load`).

  ### Notes to the reviewers

  This is cherry-picked from #1172 so that we can add it to the alpha.3 release.

  ### Changelog notice

  Change
  - Return `NonEmptyDatabase` error when constructing a wallet with `Wallet::new` if the file already contains data (in which case, the caller should use `load` or `new_or_load`).

  ### 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 a1d34afa2455d93d23a36fd78d94aa79c7e493d1

Tree-SHA512: 7c20171fa4951005e18486588977d69f40a

8883 of 11008 relevant lines covered (80.7%)

6025.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7429728695.1 06 Jan 2024 05:34AM UTC 0
80.7
GitHub Action Run
Source Files on build 7429728695
Detailed source file information is not available for this build.
  • Back to Repo
  • d7182991 on github
  • Prev Build on master (#7429239538)
  • Next Build on master (#7433791864)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc