neo

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: LGPL-3.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyCrossChainMsgSig

func VerifyCrossChainMsgSig(native *native.NativeService, chainID uint64, crossChainMsg *NeoCrossChainMsg) error

Types

type NEOHandler

type NEOHandler struct {
}

func NewNEOHandler

func NewNEOHandler() *NEOHandler

func (*NEOHandler) SyncBlockHeader

func (this *NEOHandler) SyncBlockHeader(native *native.NativeService) error

func (*NEOHandler) SyncCrossChainMsg

func (this *NEOHandler) SyncCrossChainMsg(native *native.NativeService) error

func (*NEOHandler) SyncGenesisHeader

func (this *NEOHandler) SyncGenesisHeader(native *native.NativeService) error

type NeoBlockHeader

type NeoBlockHeader struct {
	*block.BlockHeader
}

func (*NeoBlockHeader) Deserialization

func (this *NeoBlockHeader) Deserialization(source *common.ZeroCopySource) error

func (*NeoBlockHeader) GetMessage

func (this *NeoBlockHeader) GetMessage() ([]byte, error)

func (*NeoBlockHeader) Serialization

func (this *NeoBlockHeader) Serialization(sink *common.ZeroCopySink) error

type NeoConsensus

type NeoConsensus struct {
	ChainID       uint64
	Height        uint32
	NextConsensus helper.UInt160
}

func (*NeoConsensus) Deserialization

func (this *NeoConsensus) Deserialization(source *common.ZeroCopySource) error

func (*NeoConsensus) Serialization

func (this *NeoConsensus) Serialization(sink *common.ZeroCopySink)

type NeoCrossChainMsg

type NeoCrossChainMsg struct {
	*mpt.StateRoot
}

func (*NeoCrossChainMsg) Deserialization

func (this *NeoCrossChainMsg) Deserialization(source *common.ZeroCopySource) error

func (*NeoCrossChainMsg) GetMessage

func (this *NeoCrossChainMsg) GetMessage() ([]byte, error)

func (*NeoCrossChainMsg) GetScriptHash

func (this *NeoCrossChainMsg) GetScriptHash() (helper.UInt160, error)

func (*NeoCrossChainMsg) Serialization

func (this *NeoCrossChainMsg) Serialization(sink *common.ZeroCopySink) error

Jump to

Keyboard shortcuts

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