package
0.0.2-migrate-evm
Repository: https://github.com/scalarorg/scalar-core.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
BackOff sets the time to wait until retrying a failed call to Tendermint.
Consume processes all events from the given subscriber with the given function.
Filter returns true if an event is of the given generic type, false otherwise.
KeepAlive sets the time after which contact to Tendermint is reestablished if no there is no communication.
Map transforms the ABCIEventWithHeight into an Event Deprecated.
NewAttributeValueSet creates a set of possible values for an Attribute key from a list of strings.
NewBlockNotifier returns a new BlockNotifier instance.
NewBlockSource returns a new BlockSource instance.
NewEventBus returns a new event bus instance.
QueryEventByAttributes creates a Query for an event with the given attributes.
Retries sets the number of times a Tendermint call is retried.
Timeout sets the time after which the call to Tendermint is cancelled.
# Constants
WebsocketQueueSize is set to the maximum length to prevent Tendermint from closing the connection due to congestion.
# Structs
ABCIEventWithHeight adds a height field to abci.Event.
AttributeValueSet represents a set of possible values for an Attribute key.
Bus represents an object that receives blocks from a tendermint server and manages queries for events in those blocks.
DialOption for Tendermint connections.
Event stores type, module, action and attributes list of sdk Deprecated.
Notifier can notify a consumer about new blocks.
# Interfaces
BlockClient is both SyncInfoClient and SubscriptionClient.
BlockNotifier notifies the caller of new blocks.
BlockResultClient can query for the block results of a specific block.
BlockSource returns all block results sequentially.
SubscriptionClient subscribes to and unsubscribes from Tendermint events.
SyncInfoClient can query the node's sync info.