package
0.0.0-20210820184906-b400eb5d5b6e
Repository: https://github.com/notegio/openrelay.git
Documentation: pkg.go.dev
# Functions
NewChanneledBlockHash returns a BlockHash given a ConsumerChannel.
NewRedisBlockHash constructs a ConsumerChannel from a channelURI and a redisClient.
# Structs
ChanneledBlockHash is a BlockHash implementation that gets the latest block hash by watching a ConsumerChannel.
ChanneledBlockHashConsumer listens to a consumerChannel for block hashes, and sends them over provided channel.
# Interfaces
BlockHash will get the latest block hash from the ethereum blockchain.