]> Untitled Git - bdk/commitdiff
Merge bitcoindevkit/bdk#1930: feat(chain): Add method for constructing TxGraph from...
authormerge-script <hello@evanlinjin.me>
Thu, 10 Apr 2025 21:53:31 +0000 (07:53 +1000)
committermerge-script <hello@evanlinjin.me>
Thu, 10 Apr 2025 21:53:31 +0000 (07:53 +1000)
f68cfa8afb7602d36a9b5c41552b2fc6de2c9ac2 feat(chain): Add method for constructing `TxGraph` from a `ChangeSet` (uvuvuwu)

Pull request description:

  ### Description
  * Added a `from_changeset()` function to `TxGraph` implementation
  * This function initializes a new `TxGraph` and applies the given `ChangeSet`
  * The method allows constructing a `TxGraph` directly from a `ChangeSet`,
    simplifying graph creation.

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [ ] I've added tests for the new feature
  * [x] I've added docs for the new feature

ACKs for top commit:
  evanlinjin:
    ACK f68cfa8afb7602d36a9b5c41552b2fc6de2c9ac2
  LagginTimes:
    ACK f68cfa8afb7602d36a9b5c41552b2fc6de2c9ac2
  AmosOO7:
    ACK https://github.com/bitcoindevkit/bdk/commit/f68cfa8afb7602d36a9b5c41552b2fc6de2c9ac2

Tree-SHA512: 9301bb606cf131e0a9871fad0cfa5b50ccce810717672a68bc5c256bb643b75fa04682b3c22510194c4e278aa56fe467eeeee343ade50c47bfa2713c41a64abf


Trivial merge