-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add memory wallet #530
Add memory wallet #530
Conversation
WalkthroughThe updates across various modules of the Bitcoin Development Kit (BDK) primarily focus on enhancing wallet synchronization and address management. Key changes include the introduction of Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Out of diff range and nitpick comments (2)
bdk-python/tests/test_offline_wallet.py (1)
Line range hint
16-16
: TheWallet
class is used but not defined or imported in this file, which will cause a runtime error.+ from bdk import Wallet
bdk-ffi/src/wallet.rs (1)
50-64
: Introducednew_no_persist
method for creating a wallet without persistence. Ensure that this aligns with the architectural requirements of the system.
dc315f2
to
79e7ab7
Compare
@reez I have tested those locally with all our JVM tests by turning them into memory wallets and all tests passed. Ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK adc1ad8
Good to merge when new Swift test ✅ on CI
adc1ad8
to
c88b334
Compare
I almost can't believe we get this for free now that the generic on the Wallet type has been removed.
Don't merge, needs actual testing. My main concern would be that certain methods don't work on the memory wallet, but that should be captured at compile time, so... are we just getting away with it with such simple changes? It's too good to be true.
Changelog notice
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committing