]> Untitled Git - bdk/commit
Merge bitcoindevkit/bdk#2028: Add `last_evicted` field to `TxNode`
authormerge-script <hello@evanlinjin.me>
Sun, 14 Sep 2025 23:20:01 +0000 (23:20 +0000)
committermerge-script <hello@evanlinjin.me>
Sun, 14 Sep 2025 23:20:01 +0000 (23:20 +0000)
commitfaf520d61a647a5dcba74e3aa681919349f4dfe4
tree60000d4e17ae6ab92023a5d22b5ed0ef9aaf862d
parent2bf468c30806570811f708fc2251ecb38f24a872
parent3fb768bd416b6979f938aacfc9ed681a64d4549f
Merge bitcoindevkit/bdk#2028: Add `last_evicted` field to `TxNode`

3fb768bd416b6979f938aacfc9ed681a64d4549f feat(chain)!: Add `last_evicted` field to `TxNode` (志宇)

Pull request description:

  ### Description

  All `last_evicted` field to `TxNode` and remove `TxGraph::get_last_evicted` method.

  ### Notes to the reviewers

  `get_last_evicted` was added as adding fields to `TxNode` is a breaking change. However, we are going to break `bdk_chain` in the next release so a breaking change now is okay.

  ### Changelog notice

  ```md
  Added:
  - `last_evicted` field is added to `TxNode`.

  Removed:
  - `TxGraph::get_last_evicted` method is removed.
  ```

  ### Checklists

  #### All Submissions:

  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)

  #### New Features:

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

ACKs for top commit:
  oleonardolima:
    ACK 3fb768bd416b6979f938aacfc9ed681a64d4549f
  LagginTimes:
    ACK 3fb768bd416b6979f938aacfc9ed681a64d4549f

Tree-SHA512: 7dc5f68d8a49f10dc16e5ff5b00a02ee991eea832cd7ac96d454b5fb44067c868338921f428d8fdaad38e491c4f8f25baa119dc6de85b1e6c22cab36d95cb423
crates/chain/src/tx_graph.rs