common

package
v0.2010.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StateDir is the name of the directory located inside the node's data
	// directory which contains the tendermint state.
	StateDir = "tendermint"

	// ConfigDir is the name of the Tendermint configuration directory.
	ConfigDir = "config"
)
View Source
const (
	// CfgCoreListenAddress configures the tendermint core network listen address.
	CfgCoreListenAddress = "consensus.tendermint.core.listen_address"

	// CfgDebugP2PAddrBookLenient configures allowing non-routable addresses.
	CfgDebugP2PAddrBookLenient = "consensus.tendermint.debug.addr_book_lenient"

	// CfgLogDebug configures Tendermint debug logging.
	CfgLogDebug = "consensus.tendermint.log.debug"

	// CfgSubmissionGasPrice configures the gas price used when submitting transactions.
	CfgSubmissionGasPrice = "consensus.tendermint.submission.gas_price"
	// CfgSubmissionMaxFee configures the maximum fee that can be set.
	CfgSubmissionMaxFee = "consensus.tendermint.submission.max_fee"
)

Variables

Flags has the configuration flags.

Functions

func InitDataDir

func InitDataDir(dataDir string) error

InitDataDir initializes the data directory for Tendermint.

func NewLogAdapter

func NewLogAdapter(suppressDebug bool) tmlog.Logger

NewLogAdapter creates a new adapter that adapts our logger to Tendermint APIs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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