-
Notifications
You must be signed in to change notification settings - Fork 43
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 TxBuilder, Script, Transaction, and PartiallySignedTransaction #406
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thunderbiscuit
changed the title
Add TxBuilder
Add TxBuilder, Script, Transaction, and PartiallySignedTransaction
Oct 19, 2023
thunderbiscuit
force-pushed
the
txbuilder
branch
from
October 23, 2023 14:14
952932c
to
255c5c6
Compare
thunderbiscuit
force-pushed
the
txbuilder
branch
from
October 27, 2023 18:23
255c5c6
to
95d4643
Compare
thunderbiscuit
force-pushed
the
txbuilder
branch
6 times, most recently
from
October 30, 2023 18:11
300ad2d
to
857f73e
Compare
We should add instructions in the readme mentioning the live/offline tests. |
notmandatory
requested changes
Nov 6, 2023
bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit/LiveWalletTest.kt
Show resolved
Hide resolved
bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit/OfflineDescriptorTest.kt
Outdated
Show resolved
Hide resolved
thunderbiscuit
force-pushed
the
txbuilder
branch
from
November 6, 2023 20:00
857f73e
to
9f71167
Compare
reez
approved these changes
Nov 6, 2023
thunderbiscuit
force-pushed
the
txbuilder
branch
from
November 6, 2023 20:22
9f71167
to
d37b2f3
Compare
notmandatory
approved these changes
Nov 6, 2023
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 d37b2f3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR brings back some of the important types after the MVP 1.0 migration performed in #402, namely:
TxBuilder
Transaction
Script
PartiallySignedTransaction
Notes to the reviewers
The biggest change here is the use of the
ScriptBuf
type instead of theScript
type. This is new for this codebase and I need to dig a bit more into it.This PR also introduces a new file,
bitcoin.rs
, where I added the types that are coming from rust-bitcoin and reexported by bdk. In theory this should allow for a smoother transition to a bitcoin-ffi crate.Changelog notice
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committingNew Features: