package
0.0.0-20210820184906-b400eb5d5b6e
Repository: https://github.com/notegio/openrelay.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewBlockMonitor creates an BlockMonitor with the provided HeaderGetter, Publisher, and BlockRecorder.
No description provided by the author
No description provided by the author
No description provided by the author
NewRPCBlockMonitor creates a BlockMonitor using an ehtclient to the specified rpcURL for a HeaderGetter.

# Structs

BlockMonitor watches a HeaderGetter (probably an ethclient)for new blocks, publishing new blocks to a Publisher.
MiniBlock is a subset of the Ethereum block header that has the subset of fields we need to monitor for events.
No description provided by the author

# Interfaces

BlockRecorder keeps track of the last recorded block, primarily so that the block monitor can resume where it left off in the event that it restarts.
HeaderGetter returns block headers by hash or number.