Skip to content

TxGraphChangeSet: Include first_seen and last_evicted#782

Merged
reez merged 2 commits intobitcoindevkit:masterfrom
ItoroD:update-txgraphchangeset-fields
Jun 12, 2025
Merged

TxGraphChangeSet: Include first_seen and last_evicted#782
reez merged 2 commits intobitcoindevkit:masterfrom
ItoroD:update-txgraphchangeset-fields

Conversation

@ItoroD
Copy link
Copy Markdown
Collaborator

@ItoroD ItoroD commented Jun 10, 2025

Description

tx_graph::ChangeSet now has additional fields as at 2.0.0-beta. first_seen and last_evicted. This pr adds them to TxGraphChangeSet type.

Changelog notice

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

@ItoroD ItoroD marked this pull request as draft June 10, 2025 09:00
@ItoroD ItoroD force-pushed the update-txgraphchangeset-fields branch 2 times, most recently from e7aafa2 to bdd12be Compare June 10, 2025 12:12
@ItoroD ItoroD marked this pull request as ready for review June 10, 2025 12:35
@ItoroD ItoroD requested a review from rustaceanrob June 10, 2025 12:35
Comment thread bdk-python/tests/test_offline_custom_persist.py Outdated
@ItoroD ItoroD requested a review from reez June 12, 2025 08:46
@ItoroD ItoroD changed the title TxGraphChangeSet: Include new fields TxGraphChangeSet: Include first_seen and last_evicted Jun 12, 2025
Copy link
Copy Markdown
Collaborator

@reez reez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK bdd12be

Great work implementing the new fields, changing that naming in the python test is optional #782 (comment), but I'll let you change that if you want because it's a good idea.

@ItoroD ItoroD force-pushed the update-txgraphchangeset-fields branch from bdd12be to b0c75ca Compare June 12, 2025 18:26
@ItoroD
Copy link
Copy Markdown
Collaborator Author

ItoroD commented Jun 12, 2025

ACK bdd12be

Great work implementing the new fields, changing that naming in the python test is optional #782 (comment), but I'll let you change that if you want because it's a good idea.

Thanks for the review! I have rebased. I also updated the variable name to timestamp

@reez reez merged commit f1984df into bitcoindevkit:master Jun 12, 2025
28 checks passed
@ItoroD ItoroD deleted the update-txgraphchangeset-fields branch June 12, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants