0xMiden / 0xMiden/rust-sdk

refactor: revisit note import process

Aperta
#876 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
78
Fork
129
Merge medio
4g 14h
PR unite (30g)
52

Descrizione

- Should we simplify the import process and move some of the logic to the `SyncState` component? I belive this would reduce the number of edge cases when dealing with note state transitions by centralizing the logic in one place. Context: https://github.com/0xPolygonMiden/miden-client/pull/828#issuecomment-2828769510

- In a similar vein, how should we deal with `Unverified` notes in the import process? Currently, when we import an unverified note we add its tag to the client so that it is verified in the sync process. This simplifies the import process (in line with the first point) but may overload the sync requests a bit which may be a problem for the node. Context: https://github.com/0xPolygonMiden/miden-client/pull/828#issuecomment-2791063565

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.