header_sync

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: LGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

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) 2020 The poly network Authors * This file is part of The poly network library.
* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library.
* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library.
* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library.
* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library.
* Copyright (C) 2020 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) 2020 The poly network Authors * This file is part of The poly network library.
* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library.

Jump to

Keyboard shortcuts

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