You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(sensor): move oldest and head block to Conns (#761)
* feat(sensor): use LRU with TTL for requests cache
* docs: make gen-doc
* fix: rename requests cache variables
* fix: comment
* fix: requests cache opts name
* feat(sensor): use cache to track seen blocks
* docs: make gen-doc
* feat: global blocks cache
* fix: rename method
* fix: conditional sends?
* fix: flags
* chore: use conns opts
* fix: revert request spelling
* fix: remove wrong check
* fix: logic issues
* feat: store entire blocks
* chore: runAsync refactor
* feat: optimizations
* feat(sensor): track if block headers are fetched as parents
* docs: make gen-doc
* chore: refactor to use CacheOptions struct
* chore(sensor): move oldest and head block to Conns
* chore: remove HeadBlock struct in favor of eth.NewBlockPacket
* chore: add ToBlock to rpc block type
* fix: only log if value was changed
* chore: use ReplaceAll instead of Replace
* chore: clean up oldest logic
* feat: add head and oldest block to the api
* feat: add promtheus metrics
* docs: metrics generation
* docs: update examples
* chore: lint
* fix: rename methods to be more idiomatic
* fix: nil checks
0 commit comments