package
0.0.0-20240305091328-aa4207a4b25d
Repository: https://github.com/badrootd/celestia-core.git
Documentation: pkg.go.dev

# Functions

DefaultBaseConfig returns a default base configuration for a CometBFT node.
DefaultConfig returns a default configuration for a CometBFT node.
DefaultConsensusConfig returns a default configuration for the consensus service.
DefaultFastSyncConfig returns a default configuration for the fast sync service.
DefaultFuzzConnConfig returns the default config.
DefaultInstrumentationConfig returns a default configuration for metrics reporting.
DefaultMempoolConfig returns a default configuration for the CometBFT mempool.
DefaultP2PConfig returns a default configuration for the peer-to-peer layer.
DefaultRPCConfig returns a default configuration for the RPC server.
DefaultStateSyncConfig returns a default configuration for the state sync service.
DefaultStorageConfig returns the default configuration options relating to CometBFT storage optimization.
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 CometBFT node.
TestConfig returns a configuration that can be used for testing.
TestConsensusConfig returns a configuration for testing the consensus service.
TestFastSyncConfig returns a default configuration for the fast sync.
TestInstrumentationConfig returns a default configuration for metrics reporting.
TestMempoolConfig returns a configuration for testing the CometBFT mempool.
TestP2PConfig returns a configuration for testing the peer-to-peer layer.
TestRPCConfig returns a configuration for testing the RPC server.
TestFastSyncConfig returns a default configuration for the state sync service.
TestStorageConfig returns storage configuration that can be used for testing.
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.
DefaultLogLevel defines a default log level as INFO.
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.
Mempool versions.
No description provided by the author
No description provided by the author

# Variables

DefaultInfluxTables is a list of tables that are used for storing traces.
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 CometBFT node.
Config defines the top level configuration for a CometBFT node.
ConsensusConfig defines the configuration for the Tendermint consensus algorithm, adopted by CometBFT, including timeouts and details about the WAL and the block structure.
FastSyncConfig defines the configuration for the CometBFT fast sync service.
FuzzConnConfig is a FuzzedConnection configuration.
InstrumentationConfig defines the configuration for metrics reporting.
MempoolConfig defines the configuration options for the CometBFT mempool.
P2PConfig defines the configuration options for the CometBFT peer-to-peer networking layer.
RPCConfig defines the configuration options for the CometBFT RPC server.
StateSyncConfig defines the configuration for the CometBFT state sync service.
StorageConfig allows more fine-grained control over certain storage-related behavior.
----------------------------------------------------------------------------- TxIndexConfig Remember that Event has the following structure: type: [ key: value, ..