velas / velas-chain

Other
70 stars 35 forks source link

[ur] feat(evm-utils/evm-height-rangemap): evm-height-rangemap tool #431

Closed dj8yfo closed 1 year ago

dj8yfo commented 1 year ago

Problem

Summary of Changes

  1. send heights via channel
  2. fetch height from cache or wait until fetched indefinetely (Option)
  3. timeout in LedgerStorage
  4. correct Err handling (panic in worker when giving up on error to fetch a new height, channel closed, panic in worker sending heights to channel)
  5. BlockNotFound(..) results in None : Option
  6. addded backon for retries with exponential backoff
  7. split ranges into subranges for multiple LedgerStorage workers
  8. add checking of nodes presence in rocksdb
  9. add persisting of results to range_map.json of destination Fixes #