plugeth/consensus
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
..
clique consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00
ethash params: changed CatalystBlock to TerminalTotalDifficulty (#23700) 2021-10-11 18:58:11 +03:00
misc params: changed CatalystBlock to TerminalTotalDifficulty (#23700) 2021-10-11 18:58:11 +03:00
consensus.go consensus: remove seal verification from the consensus engine interface (#22274) 2021-02-05 20:44:34 +02:00
errors.go consensus: fix possessives in comments. (#20209) 2019-10-28 09:57:34 +02:00