0xMiden / 0xMiden/node

NTX Builder: Prune strategy for notes

未关闭
#1,917 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
network transactions
主要语言
Rust
星标
104
派生
138
平均合并
1 天 13 小时
30 天内合并 PR
56

描述

In https://github.com/0xMiden/node/pull/1892 I propose to store the committed notes in the NTX builder store, this causes some duplication with the store component.

We could try a couple different approaches to address this:

- We could add a timestamp to the entries, and considering that this endpoint is meant for debugging we can prune every period of time the old entries.
- Another option could be to check in the RPC component if we have that note committed in the store component before sending the request to the NTX builder.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。