 Patrick O'GradyandGitHub
|
96272d3c54
|
Cache headers and logs using accepted depth instead of LRU (#387)
* save progress
* save progress
* saving more progress
* add more context
* more comments
* fix items
* fix removal
* passs config
* add additional comment
* move cache init
* remove TODO
* fix logs format
* nits
* insert into cache oldest first
* make bounded buffer generic
* cleanup FIFO cache
* cleanup comments
* simplify bounded buffer
* fix `Last`
* nits
* more comment nits
* fix min size of FIFOCache
* add NoOpFIFOCache
* move `FlattenLogs` to `types`
* fix off by 1
* revert LastBloomIndex
* fifo cache nits
* simplify bounded buffer
* move acceptedHeaderCache to headerchain
* remove unnecessary comment
|
2022-12-05 17:15:21 -05:00 |
|