Commit b707586
committed
Merge bitcoindevkit#1930: feat(chain): Add method for constructing TxGraph from a ChangeSet
f68cfa8 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 f68cfa8
LagginTimes:
ACK f68cfa8
AmosOO7:
ACK bitcoindevkit@f68cfa8
Tree-SHA512: 9301bb606cf131e0a9871fad0cfa5b50ccce810717672a68bc5c256bb643b75fa04682b3c22510194c4e278aa56fe467eeeee343ade50c47bfa2713c41a64abf1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1216 | 1216 | | |
1217 | 1217 | | |
1218 | 1218 | | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
1219 | 1226 | | |
1220 | 1227 | | |
1221 | 1228 | | |
| |||
0 commit comments