bdk
bdk copied to clipboard
refactor: move `tx_template` from `bdk_chain` to `bdk_testenv`
Description
This PR implements the following changes:
- moves
TxTemplatefromcrates/chain/tests/common/mod.rstotestenv. - refactors
init_graphfunction andTxTemplatestruct to useCow - redoes the canonical benchmark tests introduced by bitcoindevkit/bdk#1670 using TxTemplates
Closes bitcoindevkit/bdk#1936
Notes to the reviewers
Changelog notice
Checklists
All Submissions:
- [x] I've signed all my commits
- [x] I followed the contribution guidelines
- [x] I ran
cargo fmtandcargo clippybefore committing
You probably need a rebase to make sure CI is passing.