go-ethereum/light
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
..
lightchain_test.go consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00
lightchain.go consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00
nodeset.go all: integrate the freezer with fast sync 2019-05-16 10:39:32 +03:00
odr_test.go core: only check sendernoeoa in non fake mode (#23424) 2021-08-23 12:49:39 +03:00
odr_util.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
odr.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
postprocess.go core, light, tests, trie: add state metrics (#23433) 2021-08-24 22:00:42 +03:00
trie_test.go accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
trie.go core/state: move state account to core/types + abstracted "write account to trie" (#23567) 2021-09-28 10:48:07 +02:00
txpool_test.go accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
txpool.go internal: get pending and queued transaction by address (#22992) 2021-07-13 13:40:58 +03:00