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 ¶
func (*NeoConsensus) Deserialization ¶
func (this *NeoConsensus) Deserialization(source *common.ZeroCopySource) error
func (*NeoConsensus) Serialization ¶
func (this *NeoConsensus) Serialization(sink *common.ZeroCopySink)
type NeoCrossChainMsg ¶
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
Click to show internal directories.
Click to hide internal directories.