0xMiden / 0xMiden/protocol

Cache output note ID

Aperta
#1,783 2 commenti 0 reazioni 1 assegnatario Rivendicata da @Fumuran Vedi su GitHub
kernels
Lingua principale
Rust
Stelle
132
Fork
167
Merge medio
1g 23h
PR unite (30g)
110

Descrizione

As part of the expensive procedure results caching, we should cache the output note ID (which is also an output note hash), since its computation is quite expensive: it is computed as `hash(recipient, assets_commitment)`, so every time the assets got changed, we need to recompute the ID.

_Originally posted by @bobbinth in [#77](https://github.com/0xMiden/miden-base/issues/77#issuecomment-3213060180)_

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.