package
0.0.0-20230301081111-79ba34714ab8
Repository: https://github.com/truecloudlab/frostfs-node.git
Documentation: pkg.go.dev

# Packages

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

# Functions

BytesFromOpcode tries to retrieve bytes from Op.
IntFromOpcode tries to retrieve int from Op.
NewListener create the notification event listener instance and returns Listener interface.
NotaryTypeFromBytes converts bytes slice to NotaryType.
NotaryTypeFromString converts string to NotaryType.
ParseStackArray parses stack array from raw notification event received from neo-go RPC node.
StringFromOpcode tries to retrieve string from Op.
TypeFromBytes converts bytes slice to Type.
TypeFromString converts string to Type.
UnexpectedArgNumErr returns error when notary parsers get unexpected amount of argument in contract call.
UnexpectedOpcode returns error when notary parsers get unexpected opcode in contract call.
WorkerPoolHandler sets closure over worker pool w with passed handler h.
WrongNumberOfParameters returns an error about wrong number of smart contract parameters.

# Variables

ErrMainTXExpired is returned if received fallback TX is already valid.
ErrTXAlreadyHandled is returned if received TX has already been signed.

# Structs

ListenerParams is a group of parameters for Listener constructor.
NotaryHandlerInfo is a structure that groups the parameters of the handler of particular notary event.
NotaryParserInfo is a structure that groups the parameters of particular notary request event parser.
NotificationHandlerInfo is a structure that groups the parameters of the handler of particular contract event.
NotificationParserInfo is a structure that groups the parameters of particular contract notification event parser.
Op is wrapper over Neo VM's opcode and its parameter.
Preparator implements NotaryPreparator interface.
PreparatorPrm groups the required parameters of the Preparator constructor.

# Interfaces

BlockCounter must return block count of the network from which notary requests are received.
Event is an interface that is provided by Neo:Morph event structures.
Listener is an interface of smart contract notification event listener.
NotaryEvent is an interface that is provided by Neo:Morph notary event structures.
NotaryPreparator constructs NotaryEvent from the NotaryRequest event.

# Type aliases

BlockHandler is a chain block processing function.
Handler is an Event processing function.
NotaryParser is a function that constructs Event from the NotaryEvent event.
NotaryType is a notary event enumeration type.
NotificationParser is a function that constructs Event from the StackItem list.
Type is a notification event enumeration type.