Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka committed Sep 14, 2023
1 parent c559654 commit 9c21c0b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ethmonitor/ethmonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ type Options struct {
// Logger used by ethmonitor to log warnings and debug info
Logger logger.Logger

// CacheBackend to use for caching block data
CacheBackend cachestore.Backend

// CacheExpiry is how long to keep each record in cache
CacheExpiry time.Duration

// PollingInterval to query the chain for new blocks
PollingInterval time.Duration

Expand Down Expand Up @@ -82,6 +76,14 @@ type Options struct {
// LogTopics will filter only specific log topics to include.
LogTopics []common.Hash

// CacheBackend to use for caching block data
// NOTE: do not use this unless you know what you're doing. In most cases
// leave this nil.
CacheBackend cachestore.Backend

// CacheExpiry is how long to keep each record in cache
CacheExpiry time.Duration

// DebugLogging toggle
DebugLogging bool
}
Expand Down

0 comments on commit 9c21c0b

Please sign in to comment.