0xMiden / 0xMiden/node

NTX Builder: Prune strategy for notes

Abierto
#1,917 2 comentarios 1 reacción 0 asignados Ver en GitHub
network transactions
Lenguaje dominante
Rust
Estrellas
104
Forks
138
Merge medio
1 d 13 h
PR fusionados (30 d)
56

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.