netmap

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAddPeer added in v0.12.0

func ParseAddPeer(prms []stackitem.Item) (event.Event, error)

func ParseNewEpoch

func ParseNewEpoch(prms []stackitem.Item) (event.Event, error)

ParseNewEpoch is a parser of new epoch notification event.

Result is type of NewEpoch.

func ParseUpdatePeer added in v0.12.0

func ParseUpdatePeer(prms []stackitem.Item) (event.Event, error)

Types

type AddPeer added in v0.12.0

type AddPeer struct {
	// contains filtered or unexported fields
}

func (AddPeer) MorphEvent added in v0.12.0

func (AddPeer) MorphEvent()

MorphEvent implements Neo:Morph Event interface.

func (AddPeer) Node added in v0.12.0

func (s AddPeer) Node() []byte

type NewEpoch

type NewEpoch struct {
	// contains filtered or unexported fields
}

NewEpoch is a new epoch Neo:Morph event.

func (NewEpoch) EpochNumber

func (s NewEpoch) EpochNumber() uint64

EpochNumber returns new epoch number.

func (NewEpoch) MorphEvent

func (NewEpoch) MorphEvent()

MorphEvent implements Neo:Morph Event interface.

type UpdatePeer added in v0.12.0

type UpdatePeer struct {
	// contains filtered or unexported fields
}

func (UpdatePeer) MorphEvent added in v0.12.0

func (UpdatePeer) MorphEvent()

MorphEvent implements Neo:Morph Event interface.

func (UpdatePeer) PublicKey added in v0.12.0

func (s UpdatePeer) PublicKey() *keys.PublicKey

func (UpdatePeer) Status added in v0.12.0

func (s UpdatePeer) Status() netmap.NodeState

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL