Skip to content

feat: update the api for deleted block info#7735

Merged
SWvheerden merged 2 commits intotari-project:developmentfrom
SWvheerden:sw_update_http_api
Apr 8, 2026
Merged

feat: update the api for deleted block info#7735
SWvheerden merged 2 commits intotari-project:developmentfrom
SWvheerden:sw_update_http_api

Conversation

@SWvheerden
Copy link
Copy Markdown
Collaborator

Description

Add the timestamp of the deleted utxo info

@SWvheerden SWvheerden requested a review from a team as a code owner April 8, 2026 06:04
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a versioned API for retrieving deleted UTXO information, adding a V1 response that includes the spent_timestamp. The changes include updates to the HTTP handler to support a version parameter, the addition of a new RPC method in the query service, and the definition of the V1 response models. Feedback suggests pre-allocating the results vector for better efficiency and simplifying the mapping logic using Option methods to reduce code duplication and nesting.

@SWvheerden SWvheerden merged commit 5eeca3a into tari-project:development Apr 8, 2026
15 of 17 checks passed
@SWvheerden SWvheerden deleted the sw_update_http_api branch April 9, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants