Paprika
Paprika copied to clipboard
Interface and logic to support snap sync for Paprika
Implement changes to the IRawState interface required to fully support sync process for Paprika:
- Add methods to set boundary proof nodes directly as merkle data. Proof nodes to be added together with corresponding
RlpMemowhich contains hashes of child nodes outside of currently processed data ranges (account or storage). Merkle data created for snap sync is used only to ensure correct root hash calculation and is not persisted onCommit(newEntryType-Proof.-
CreateMerkleBranch
-
- Support hash calculation request for arbitrary path for healing (fast sync) purposes
- Support to create directly merkle data for healing (fast sync)
-
CreateMerkleExtension,CreateMerkleLeaf
-
| Package | Line Rate | Branch Rate | Health |
|---|---|---|---|
| Paprika | 80% | 76% | ➖ |
| Summary | 80% (5049 / 6289) | 76% (1750 / 2298) | ➖ |
Minimum allowed line rate is 75%