bsc/eth/protocols
Martin Holst Swende 6289137827
consensus/clique, core: API cleanup (#23100)
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.
2021-10-11 23:16:46 +02:00
..
eth consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00
snap eth/protocols/snap, trie: better error-handling (#23657) 2021-09-29 15:19:40 +02:00