bdk icon indicating copy to clipboard operation
bdk copied to clipboard

refactor: move `tx_template` from `bdk_chain` to `bdk_testenv`

Open tvpeter opened this issue 11 months ago • 1 comments

Description

This PR implements the following changes:

  • moves TxTemplate from crates/chain/tests/common/mod.rs to testenv.
  • refactors init_graph function and TxTemplate struct to use Cow
  • 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 fmt and cargo clippy before committing

tvpeter avatar Jan 14 '25 20:01 tvpeter

You probably need a rebase to make sure CI is passing.

oleonardolima avatar Mar 07 '25 12:03 oleonardolima