Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrStaleNode is returned from [New] when StartFromBlock requirement // specified in [Params] is not satisfied by the given node. ErrStaleNode = errors.New("RPC node is not yet up to date") )
Functions ¶
This section is empty.
Types ¶
type NotificationChannels ¶ added in v0.36.0
type NotificationChannels struct { BlockCh <-chan *block.Block NotificationsCh <-chan *state.ContainedNotificationEvent NotaryRequestsCh <-chan *result.NotaryRequestEvent }
type Subscriber ¶
type Subscriber interface { SubscribeForNotification(...util.Uint160) error BlockNotifications() error SubscribeForNotaryRequests(mainTXSigner util.Uint160) error NotificationChannels() NotificationChannels Close() }
Subscriber is an interface of the NotificationEvent listener.
Click to show internal directories.
Click to hide internal directories.