-
Notifications
You must be signed in to change notification settings - Fork 384
refactor: move tx_template
from bdk_chain
to bdk_testenv
#1800
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
Open
tvpeter
wants to merge
1
commit into
bitcoindevkit:master
Choose a base branch
from
tvpeter:test/move-txtemplate-to-testenv
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
refactor: move tx_template
from bdk_chain
to bdk_testenv
#1800
tvpeter
wants to merge
1
commit into
bitcoindevkit:master
from
tvpeter:test/move-txtemplate-to-testenv
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
8b81584
to
12181bb
Compare
12181bb
to
13b87ac
Compare
13b87ac
to
dd47a8b
Compare
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.
Thanks for working on this one, so far it's looking good.
Please update the commit messages to follow conventional commits, i.e: `refactor: move `tx_template` from `bdk_chain` to `bdk_testenv`
dd47a8b
to
657ffd8
Compare
tx_template
from bdk_chain
to bdk_testenv
657ffd8
to
1546ef6
Compare
You probably need a rebase to make sure CI is passing. |
1546ef6
to
7d8ec4b
Compare
- refactor tx_template struct and init_graph to use Cow pointer - move `tx_template` from `chain/tests/common` to `testenv/src` - update `chain/tests` files to use `tx_template` from `testenv` - update deps in `chain/cargo.toml` and `testenv/cargo.toml` - update imports in `testenv/src/lib.rs` - refactor canonical benchmarks in `chain/benches` to use tx_template [Ticket: 1754]
7d8ec4b
to
b42a074
Compare
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.
Description
This PR implements the following changes:
TxTemplate
fromcrates/chain/tests/common/mod.rs
totestenv
.init_graph
function andTxTemplate
struct to useCow
O(n)
canonicalization algorithm #1670 using TxTemplatesCloses #1936
Notes to the reviewers
Changelog notice
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committing