refactor: move tx_template from bdk_chain to bdk_testenv#1800
refactor: move tx_template from bdk_chain to bdk_testenv#1800tvpeter wants to merge 1 commit intobitcoindevkit:masterfrom
tx_template from bdk_chain to bdk_testenv#1800Conversation
8b81584 to
12181bb
Compare
12181bb to
13b87ac
Compare
13b87ac to
dd47a8b
Compare
There was a problem hiding this comment.
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. |
7d8ec4b to
b42a074
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]
b42a074 to
32cb79b
Compare
|
I've recently faced the issues of not having the @tvpeter this PR needs a big rebase. |
|
I will be splitting this PR into two because there are several changes across the affected crates. It seems more challenging to rebase and catch up. Once I link the two new PRs, I will close this one. |
|
Closing this PR in favour of #2177 |
@tvpeter Thanks! I'll take a look on that one. |
Description
This PR implements the following changes:
TxTemplatefromcrates/chain/tests/common/mod.rstotestenv.init_graphfunction andTxTemplatestruct to useCowO(n)canonicalization algorithm #1670 using TxTemplatesCloses #1936
Notes to the reviewers
Changelog notice
Checklists
All Submissions:
cargo fmtandcargo clippybefore committing