Documentation ¶
Index ¶
- Constants
- func GetChainHandler(router uint64) (hscommon.HeaderSyncHandler, error)
- func RegisterHeaderSyncContract(native *native.NativeService)
- func SyncBlockHeader(native *native.NativeService) ([]byte, error)
- func SyncCrossChainMsg(native *native.NativeService) ([]byte, error)
- func SyncGenesisHeader(native *native.NativeService) ([]byte, error)
Constants ¶
View Source
const ( SYNC_GENESIS_HEADER = "syncGenesisHeader" SYNC_BLOCK_HEADER = "syncBlockHeader" SYNC_CROSS_CHAIN_MSG = "syncCrossChainMsg" )
Variables ¶
This section is empty.
Functions ¶
func GetChainHandler ¶
func GetChainHandler(router uint64) (hscommon.HeaderSyncHandler, error)
func RegisterHeaderSyncContract ¶
func RegisterHeaderSyncContract(native *native.NativeService)
Register methods of node_manager contract
func SyncBlockHeader ¶
func SyncBlockHeader(native *native.NativeService) ([]byte, error)
func SyncCrossChainMsg ¶
func SyncCrossChainMsg(native *native.NativeService) ([]byte, error)
func SyncGenesisHeader ¶
func SyncGenesisHeader(native *native.NativeService) ([]byte, error)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
rlp
Package rlp implements the RLP serialization format.
|
Package rlp implements the RLP serialization format. |
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
ethsecp256k1
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
types
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
types/common
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
types/secp256k1
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library.
|
* Copyright (C) 2021 The poly network Authors * This file is part of The poly network library. |
Click to show internal directories.
Click to hide internal directories.