package
0.31.5
Repository: https://github.com/rnssolution/prism.git
Documentation: pkg.go.dev

# Functions

DefaultBaseConfig returns a default base configuration for a Tendermint node.
DefaultConfig returns a default configuration for a Tendermint node.
DefaultConsensusConfig returns a default configuration for the consensus service.
DefaultFuzzConnConfig returns the default config.
DefaultInstrumentationConfig returns a default configuration for metrics reporting.
DefaultLogLevel returns a default log level of "error".
DefaultMempoolConfig returns a default configuration for the Tendermint mempool.
DefaultP2PConfig returns a default configuration for the peer-to-peer layer.
DefaultPackageLogLevels returns a default log level setting so all packages log at "error", while the `state` and `main` packages log at "info".
DefaultRPCConfig returns a default configuration for the RPC server.
DefaultTxIndexConfig returns a default configuration for the transaction indexer.
EnsureRoot creates the root, config, and data directories if they don't exist, and panics if it fails.
No description provided by the author
No description provided by the author
TestBaseConfig returns a base configuration for testing a Tendermint node.
TestConfig returns a configuration that can be used for testing.
TestConsensusConfig returns a configuration for testing the consensus service.
TestInstrumentationConfig returns a default configuration for metrics reporting.
TestMempoolConfig returns a configuration for testing the Tendermint mempool.
TestP2PConfig returns a configuration for testing the peer-to-peer layer.
TestRPCConfig returns a configuration for testing the RPC server.
TestTxIndexConfig returns a default configuration for the transaction indexer.
WriteConfigFile renders config using the template and writes it to configFilePath.

# Constants

DefaultDirPerm is the default permissions used when creating directories.
FuzzModeDelay is a mode in which we randomly sleep.
FuzzModeDrop is a mode in which we randomly drop reads/writes, connections or sleep.
LogFormatJSON is a format for json output.
LogFormatPlain is a format for colored text.

# Variables

NOTE: Most of the structs & relevant comments + the default configuration options were used to manually generate the config.toml.

# Structs

BaseConfig defines the base configuration for a Tendermint node.
Config defines the top level configuration for a Tendermint node.
ConsensusConfig defines the configuration for the Tendermint consensus service, including timeouts and details about the WAL and the block structure.
FuzzConnConfig is a FuzzedConnection configuration.
InstrumentationConfig defines the configuration for metrics reporting.
MempoolConfig defines the configuration options for the Tendermint mempool.
P2PConfig defines the configuration options for the Tendermint peer-to-peer networking layer.
RPCConfig defines the configuration options for the Tendermint RPC server.
TxIndexConfig defines the configuration for the transaction indexer, including tags to index.