0xMiden / 0xMiden/node

NTX Builder: Prune strategy for notes

Ouverte
#1,917 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
network transactions
Langage dominant
Rust
Étoiles
104
Forks
138
Merge moyen
1 j 13 h
PR mergées (30 j)
56

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.