client

package
v0.2102.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package client contains the runtime client.

Index

Constants

View Source
const (
	// CfgMaxTransactionAge is the number of consensus blocks after which
	// submitted transactions will be considered expired.
	CfgMaxTransactionAge = "runtime.client.max_transaction_age"
)

Variables

View Source
var (

	// Flags has the flags used by the runtime client.
	Flags = flag.NewFlagSet("", flag.ContinueOnError)
)

Functions

func New

func New(
	ctx context.Context,
	dataDir string,
	consensus consensus.Backend,
	runtimeRegistry runtimeRegistry.Registry,
	p2p *p2p.P2P,
) (api.RuntimeClientService, error)

New returns a new runtime client instance.

Types

This section is empty.

Directories

Path Synopsis
Package tests is a collection of client interface test cases.
Package tests is a collection of client interface test cases.

Jump to

Keyboard shortcuts

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