plugeth/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_test.go consensus/clique: avoid a copy in clique (#23149) 2021-07-02 09:18:50 +02:00
clique.go consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00
snapshot_test.go accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
snapshot.go cosensus, core, eth, params, trie: fixes + clique history cap 2019-05-16 10:39:35 +03:00