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 ¶
View Source
var Flags = flag.NewFlagSet("", flag.ContinueOnError)
Flags has the configuration flags.
Functions ¶
func InitDataDir ¶
InitDataDir initializes the data directory for Tendermint.
func NewLogAdapter ¶
NewLogAdapter creates a new adapter that adapts our logger to Tendermint APIs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.