0xMiden / 0xMiden/node

NTX Builder: Prune strategy for notes

Aperta
#1,917 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
network transactions
Lingua principale
Rust
Stelle
104
Fork
138
Merge medio
1g 13h
PR unite (30g)
56

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.