package
2.0.0+incompatible
Repository: https://github.com/quarkchain/goquarkchain.git
Documentation: pkg.go.dev

# Functions

NewEventSystem creates a new manager that listens for event on the given mux, parses and filters them.
No description provided by the author

# Constants

BlocksSubscription queries hashes for blocks that are imported.
chainEvChanSize is the size of channel listening to ChainEvent.
LastSubscription keeps track of the last index.
logsChanSize is the size of channel listening to LogsEvent.
LogsSubscription queries for new or removed (chain reorg) logs.
MinedAndPendingLogsSubscription queries for logs in mined and pending blocks.
PendingLogsSubscription queries for logs in pending blocks.
PendingTransactionsSubscription queries tx hashes for pending transactions entering the pending state.
rmLogsChanSize is the size of channel listening to RemovedLogsEvent.
SyncingSubscription queries syncResult when syncing.
syncSize is the size of channel listening to SubscribeSyncEvent.
txChanSize is the size of channel listening to NewTxsEvent.
UnknownSubscription indicates an unknown subscription type.

# Variables

No description provided by the author

# Structs

EventSystem creates subscriptions, processes events and broadcasts them to the subscription which match the subscription criteria.
Subscription is created when the client registers itself for a particular event.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

Type determines the kind of filter and is used to put the filter in to the correct bucket when added.