0xMiden / 0xMiden/rust-sdk

refactor: revisit note import process

Đang mở
#876 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
78
Fork
129
Merge trung bình
4 ngày 14 giờ
Pull request đã merge (30 ngày)
52

Mô tả

- 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.