reputation

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePut

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

ParsePut from notification into reputation event structure.

Types

type Put

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

Put structure of reputation.reputationPut notification from morph chain.

func (Put) Epoch

func (p Put) Epoch() uint64

Epoch returns epoch value of reputation data.

func (Put) MorphEvent

func (Put) MorphEvent()

MorphEvent implements Neo:Morph Event interface.

func (Put) PeerID

func (p Put) PeerID() reputation.PeerID

PeerID returns peer id of reputation data.

func (Put) Value

func (p Put) Value() reputation.GlobalTrust

Value returns reputation structure.

Jump to

Keyboard shortcuts

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