go-ethereum/consensus/clique
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
..
api.go consensus/clique: implement getSigner API method (#22987) 2021-07-13 14:40:22 +03:00
clique.go consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00
clique_test.go
snapshot.go
snapshot_test.go