good morning!!!!

Skip to content
Snippets Groups Projects
  1. Dec 03, 2021
  2. Dec 02, 2021
  3. Dec 01, 2021
  4. Nov 30, 2021
  5. Nov 29, 2021
  6. Nov 28, 2021
  7. Nov 27, 2021
    • TBC Dev's avatar
      ChainSegment efficiency (#3042) · 2f0758e8
      TBC Dev authored
      * De-dup blockHeaders66() and blockHeaders65()
      
      * Simplify loops and EOL detection
      
      * Add ChainSegmentHeader struct and refactor
      
      * Add RawRlpHash() to avoid re-encode for header hash
      
      * Avoid multiple redundant rlpHash()
      
      * Sort headers by height,hash to make dups consecutive
      
      * Flip condition to reduce map lookups
      
      * Remove redundant check
      
      * Use rlp.RawValue rather than []byte to help self-document
      2f0758e8
Loading