Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.37 KB

File metadata and controls

49 lines (36 loc) · 1.37 KB

TODO

  • reader benchmark

  • compact benchmark

  • handle block reward

  • validation

    • compute blockhash
    • verify tx signature
  • merge blockhash and registry builder

  • String dedup in string table acrose epoch ?

    • try inside block first
    • accross epoch is harder as table is huge and may not fit in memory
    • maybe add a postprocessing on epoch or a new type foreignId or gloabalId
  • Simplify error handling

    • Single error type per crate
    • Add context only at I/O and top-level boundaries
  • Split archive data

    • Separate data required for replay from runtime-only data
    • Runtime-only includes logs, inner instructions, return data
  • Try new encodings

    • Review compact encoding to remove unnecessary allocations and clones
    • Evaluate wincode for low-allocation streaming encoding
    • Evaluate rkyv for zero-copy / archive-friendly layouts
  • proper parser ?

    • current parser is hand rolled and suboptimal

Optimize transaction error storage (u32 + u32 + potentail tuple) Make reqwest in reader optional

Backlog