0xMiden / 0xMiden/node

NTX Builder: Prune strategy for notes

Aberta
#1,917 2 comentários 1 reação 0 responsáveis Ver no GitHub
network transactions
Linguagem predominante
Rust
Estrelas
104
Forks
138
Merge médio
1d 13h
PRs com merge (30d)
56

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.