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

bitcoindevkit / bdk_wallet
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: release/2.x
DEFAULT BRANCH: master
Repo Added 03 Apr 2025 06:28PM UTC
Token 7jztzPrDdGkjKp6ccF3NwwBOCwqkJroIg regen
Build 459 Last
Files 24
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

LAST BUILD ON BRANCH release/2.x
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 2025-06-bump-bitcoin-version-to-unbreak-semver
  • 2025-10-add-apply-block-events
  • add_persist_test_utils
  • cherrypick/306
  • chore/add-rustfmt-file
  • chore/backport_300
  • chore/bump-bdk-to-0.23.1
  • chore/bump-ctrlc-3.4.6
  • chore/bump-dev
  • chore/bump-dev-to-2.2.0-alpha.0
  • chore/bump-rand
  • chore/bump-tokio
  • chore/bump_dev
  • chore/bump_msrv
  • chore/codeowners
  • chore/default-recipe
  • chore/only_bdk_wallet
  • chore/remove-lazystatic
  • chore/use-amount
  • chore/versions
  • ci/add-cargo-mutants-job
  • ci/add-ubuntu-arm-support
  • ci/bump_rust_cache
  • ci/zizmor
  • clippy/inline_fmt_args
  • confirmation_depth
  • create-pull-request/update-rust-version
  • dependabot/github_actions/Swatinem/rust-cache-2.7.8
  • dependabot/github_actions/Swatinem/rust-cache-2.8.0
  • dependabot/github_actions/Swatinem/rust-cache-2.8.1
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/upload-artifact-5
  • dependabot/github_actions/github/codeql-action-4
  • deps/update-bdk
  • deps/update-bdk-chain
  • doc/apply-evicted-txs
  • doc/changeset
  • doc/wallet-sync-example
  • docs/multipath
  • example/BIP329-example-using-bitcoinppl/bip329-library
  • feat/add-initial-fuzz-testing
  • feat/add-legacy-tests
  • feat/changeset_events
  • feat/changeset_events_300
  • feat/create_psbt
  • feat/justfile
  • feat/lock-unspent
  • feat/networkkind
  • feature/anti-fee-sniping
  • feature/apply_changeset
  • feature/bdk-tx-explorations
  • feature/broadcast-queue
  • feature/caravan-wallet-export
  • feature/exclude_below_confirmations
  • feature/multi-keychain-wallet
  • feature/multipath-descriptor-support
  • feature/rust-toolchain
  • feature/tx-details
  • fix/50-validate-prevouts-for-get-psbt-input
  • fix/build_fee_bump_foreign_utxo
  • fix/clippy-lints
  • fix/intersect-networks
  • fix/into-descriptor-key
  • fix/issue-264-oldest-first-selects-local-last
  • fix/no-debug-on-display-impls
  • fix/recover_with_spk_cache_enabled
  • fix/remove_signers
  • fix/tx_build_should_not_change_order_of_insertion
  • fix/tx_build_should_not_change_order_of_insertion_with_vector
  • fix_txordering
  • freeing-reserved-utxos
  • improve_triage
  • keymap
  • master
  • maybe-send-async-persister
  • n_keychains_poc
  • refactor--index-out-of-bounds-error-type
  • refactor/remove-signers
  • refactor/wallet-tests
  • refs/tags/wallet-2.0.0
  • refs/tags/wallet-2.0.0-beta.0
  • refs/tags/wallet-2.1.0
  • refs/tags/wallet-2.2.0
  • release/2.0
  • release/2.0.0-beta
  • release/2.1
  • release/2.1.0
  • release/2.2
  • release/2.3
  • release/2.x
  • release/2_2_0
  • release_2_0_0
  • revert-277-fix/clippy-lints
  • test_canonicalization_mods_api
  • update_release_process

05 Nov 2025 04:23PM UTC coverage: 85.079% (+0.03%) from 85.051%
19108806954

push

github

notmandatory
Merge bitcoindevkit/bdk_wallet#336: Add `apply_block_events` and `apply_block_connected_to_events`

<a class=hub.com/bitcoindevkit/bdk_wallet/commit/<a class="double-link" href="https://git"><a class=hub.com/bitcoindevkit/bdk_wallet/commit/e9a303436b8d22d6a73552316e74da021b67977c">e9a303436<a href="https://github.com/bitcoindevkit/bdk_wallet/commit/abc9cd8531a2a2892626b4698c507cbd26daa01b"> test(wallet): add tests for apply_block_events (Steve Myers)
<a class="double-link" href="https://github.com/bitcoindevkit/bdk_wallet/commit/3f0664e9485f531f6ba98e4a3a8bf75e69b0a3e5">3f0664e94</a><a href="https://github.com/bitcoindevkit/bdk_wallet/commit/abc9cd8531a2a2892626b4698c507cbd26daa01b"> f Duplicate event logic rather than business logic (Elias Rohrer)
</a><a class="double-link" href="https://github.com/bitcoindevkit/bdk_wallet/commit/df444d06bda972819541d75f120cf8556a6a61e9">df444d06b</a> Add `apply_block_events` and `apply_block_connected_to_events` (Elias Rohrer)

Pull request description:

  ### Description

  Previously, we added a new `Wallet::apply_update_events` method that returned `WalletEvent`s. Unfortunately, no corresponding APIs were added for the `apply_block` counterparts. Here we fix this omission.

  ### Notes to the reviewers

  I opened this towards the `release-2.2` branch, but it would probably need another release branch. Or let me know if you prefer to open it against master (which seems to be lacking `apply_update_events` currently though).

  I also added no test coverage given that none seems to exist for `Wallet::apply_block` in the first place. Let me know if I should add something here.

  ### 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 `just p` before pushing

  #### New Features:

  * [ ] I've added tests for the new feature
  * [x] I've added docs for the new feature

  cc @notmandatory

ACKs for top commit:
  ValuedMammal:
    ACK e9a303436b8d22d6a73552316e74da021b67977c
  notmandatory:
    (self) ACK e9a303436b8d22d6a73552316e74da021b67977c

Tree-SHA512: f62771ee864ec342ebfbd1966e56dc76e3c

34 of 69 new or added lines in 1 file covered. (49.28%)

7059 of 8297 relevant lines covered (85.08%)

3260.98 hits per line

Relevant lines Covered
Build:
Build:
8297 RELEVANT LINES 7059 COVERED LINES
3260.98 HITS PER LINE
Source Files on master
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19108806954 release/2.x Merge bitcoindevkit/bdk_wallet#336: Add `apply_block_events` and `apply_block_connected_to_events` e9a303436 test(wallet): add tests for apply_block_events (Steve Myers) 3f0664e94 f Du... push 05 Nov 2025 04:28PM UTC notmandatory github
85.08
18873961904 keymap Merge 4e432aad9 into e7d9d442b Pull #334 04 Nov 2025 02:50PM UTC web-flow github
85.04
19016316365 feat/create_psbt Merge 596565f15 into 13669c2e9 Pull #297 02 Nov 2025 06:25PM UTC web-flow github
84.78
19015683294 feat/create_psbt Merge 71ca931f0 into 13669c2e9 Pull #297 02 Nov 2025 05:29PM UTC web-flow github
84.86
19012656498 feature/multi-keychain-wallet Merge 4b327f80d into 13669c2e9 Pull #318 02 Nov 2025 01:05PM UTC web-flow github
69.23
19005356703 fix/build_fee_bump_foreign_utxo Merge f143e1f28 into 13669c2e9 Pull #337 02 Nov 2025 01:22AM UTC web-flow github
85.14
19004578623 release/2.x chore: bump version to 2.3.0-alpha.0 Signed-off-by: valued mammal <valuedmammal@protonmail.com> push 02 Nov 2025 12:11AM UTC ValuedMammal github
85.05
18988009424 2025-10-add-apply-block-events Merge e9a303436 into b5de563c4 Pull #336 01 Nov 2025 12:00AM UTC web-flow github
85.08
18972264325 2025-10-add-apply-block-events Merge 3f0664e94 into b5de563c4 Pull #336 31 Oct 2025 12:18PM UTC web-flow github
84.34
18951786142 release/2.3 chore: bump version to 2.3.0-alpha.0 Signed-off-by: valued mammal <valuedmammal@protonmail.com> push 30 Oct 2025 06:55PM UTC ValuedMammal github
85.05
See All Builds (435)

Badge your Repo: bdk_wallet

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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

© 2025 Coveralls, Inc