chains

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chainer added in v1.3.0

type Chainer interface {
	New(*core.ChainConfig, log15.Logger, chan<- error, mapprotocol.Role) (core.Chain, error)
}

func Create added in v1.3.0

func Create(_type string) (Chainer, bool)

type Proffer added in v1.3.0

type Proffer interface {
	Connect(id, endpoint, mcs, lightNode, oracleNode string) (*ethclient.Client, error)
	Proof(client *ethclient.Client, log *types.Log, endpoint string, proofType int64, selfId,
		toChainID uint64, sign [][]byte) ([]byte, error)
	Maintainer(client *ethclient.Client, selfId, toChainId uint64, srcEndpoint string) ([]byte, error)
}

func CreateProffer added in v1.3.0

func CreateProffer(_type string) (Proffer, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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