Documentation ¶
Index ¶
Constants ¶
View Source
const ( NewTxEventID = eventbus.EventID("transaction-new") AddBlockEventID = eventbus.EventID("block-add") NewFlipKeyID = eventbus.EventID("flip-key-new") FastSyncCompleted = eventbus.EventID("fast-sync-completed") NewFlipEventID = eventbus.EventID("flip-new") NewFlipKeysPackageID = eventbus.EventID("flip-keys-package-new") IpfsPortChangedEventId = eventbus.EventID("ipfs-port-changed") DeleteFlipEventID = eventbus.EventID("flip-delete") PeersEventID = eventbus.EventID("peers") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteFlipEvent ¶
type DeleteFlipEvent struct {
FlipCid []byte
}
func (DeleteFlipEvent) EventID ¶
func (DeleteFlipEvent) EventID() eventbus.EventID
type FastSyncCompletedEvent ¶
type FastSyncCompletedEvent struct { }
func (FastSyncCompletedEvent) EventID ¶
func (FastSyncCompletedEvent) EventID() eventbus.EventID
type IpfsPortChangedEvent ¶
type IpfsPortChangedEvent struct {
Host core.Host
}
func (IpfsPortChangedEvent) EventID ¶
func (i IpfsPortChangedEvent) EventID() eventbus.EventID
type NewBlockEvent ¶
func (*NewBlockEvent) EventID ¶
func (e *NewBlockEvent) EventID() eventbus.EventID
type NewFlipEvent ¶
func (NewFlipEvent) EventID ¶
func (NewFlipEvent) EventID() eventbus.EventID
type NewFlipKeyEvent ¶
type NewFlipKeyEvent struct { Key *types.PublicFlipKey Own bool }
func (*NewFlipKeyEvent) EventID ¶
func (e *NewFlipKeyEvent) EventID() eventbus.EventID
type NewFlipKeysPackageEvent ¶
type NewFlipKeysPackageEvent struct { Key *types.PrivateFlipKeysPackage Own bool }
func (*NewFlipKeysPackageEvent) EventID ¶
func (e *NewFlipKeysPackageEvent) EventID() eventbus.EventID
type NewTxEvent ¶
type NewTxEvent struct { Tx *types.Transaction Own bool Deferred bool }
func (*NewTxEvent) EventID ¶
func (e *NewTxEvent) EventID() eventbus.EventID
type PeersEvent ¶ added in v0.26.6
type PeersEvent struct { PeersData []iface.ConnectionInfo Time time.Time }
func (*PeersEvent) EventID ¶ added in v0.26.6
func (e *PeersEvent) EventID() eventbus.EventID
Click to show internal directories.
Click to hide internal directories.