1. 29 Oct, 2021 1 commit
    • Martin Holst Swende's avatar
      eth/filters, p2p/simulations: fix benchmarks (#23806) · 31870a59
      Martin Holst Swende authored
      Some benchmarks in eth/filters were not good: they weren't reproducible, relying on geth chaindata to be present.
      
      Another one was rejected because the receipt was lacking a backing transcation.
      
      The p2p simulation benchmark had a lot of the warnings below, due to the framework calling both
      Stop() and Close(). Apparently, the simulated adapter is the only implementation which has a Close(),
      and there is no need to call both Stop and Close on it.
      31870a59
  2. 28 Oct, 2021 2 commits
  3. 27 Oct, 2021 2 commits
  4. 26 Oct, 2021 3 commits
  5. 25 Oct, 2021 2 commits
  6. 21 Oct, 2021 2 commits
  7. 20 Oct, 2021 6 commits
  8. 19 Oct, 2021 1 commit
  9. 18 Oct, 2021 9 commits
  10. 15 Oct, 2021 3 commits
  11. 14 Oct, 2021 1 commit
  12. 13 Oct, 2021 5 commits
  13. 12 Oct, 2021 2 commits
  14. 11 Oct, 2021 1 commit
    • Martin Holst Swende's avatar
      consensus/clique, core: API cleanup (#23100) · 62891378
      Martin Holst Swende authored
      This removes some code:
      
      - The clique engine calculated the snapshot twice when verifying headers/blocks.
      
      - The method GetBlockHashesFromHash in Header/Block/Lightchain was only used by tests. It
        is now removed from the API.
        
      - The method GetTdByHash internally looked up the number before calling GetTd(hash, num).
        In many cases, callers already had the number, and used this method just because it has a
        shorter name. I have removed the method to make the API surface smaller.
      62891378