You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #310: Return wallet events when applying updates
c6fb9b3 docs: add events ADR 0003 (Steve Myers)
e1bcce2 docs(wallet): add example to appl_update_events (Steve Myers)
fe88a73 feat(wallet): add WalletEvent and Wallet::apply_update_events (Steve Myers)
8b2efb3 docs: fix small typos (Steve Myers)
Pull request description:
### Description
Adds `WalletEvent` enum of user facing events that are generated when a sync update is applied to a wallet using the
new `Wallet::apply_update_events` function.
fixes#6
### Notes to the reviewers
I also modified wallet test_utils to add a `new_wallet_and_funding_update` function that returns a new wallet with an update that funds it. I used this new function in the original `new_funded_wallet` so there's no duplication.
### Changelog notice
### 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:
* [x] I've added tests for the new feature
* [x] I've added docs for the new feature
ACKs for top commit:
thunderbiscuit:
Re-ACK c6fb9b3.
oleonardolima:
ACK c6fb9b3
Tree-SHA512: 92007a1dfd748ede606a90e6b8e4d1f2609b78bd620be5dca784b76b9270ccdd309d1dcc6e59abddb542b111453a6619c6d6638ead82136684a05c85d5df37aa
0 commit comments