Crate ckb_app_config

Crate ckb_app_config 

Source
Expand description

CKB command line arguments and config options.

Modules§

cli
CKB command line arguments parser.

Structs§

BlockAssemblerConfig
Block assembler config options.
CKBAppConfig
The main config file for the most subcommands. Usually it is the ckb.toml in the CKB root directory.
ChainConfig
The chain config options.
CustomizeSpec
Customize parameters for chain spec.
DBConfig
Database config options.
DaemonArgs
Parsed command line arguments for ckb daemon.
EaglesongSimpleConfig
Eaglesong worker config options.
ExportArgs
Parsed command line arguments for ckb export.
FeeEstimatorConfig
Fee estimator config options.
HeaderMapConfig
Header map config options.
ImportArgs
Parsed command line arguments for ckb import.
IndexerConfig
Indexer config options.
IndexerSyncConfig
Indexer sync config options.
InitArgs
Parsed command line arguments for ckb init.
LogConfig
The whole CKB logger configuration.
MemoryTrackerConfig
Memory tracker config options.
MetricsConfig
The whole CKB metrics configuration.
MigrateArgs
Parsed command line arguments for ckb migrate.
MinerAppConfig
The miner config file for ckb miner. Usually it is the ckb-miner.toml in the CKB root directory.
MinerArgs
Parsed command line arguments for ckb miner.
MinerClientConfig
RPC client config options.
MinerConfig
Miner config options.
NetworkAlertConfig
Network alert config options.
NetworkConfig
Network config options.
NotifyConfig
Notify config options.
PeerIDArgs
Parsed command line arguments for ckb peer-id.
ReplayArgs
Parsed command line arguments for ckb replay.
ResetDataArgs
Parsed command line arguments for ckb reset-data.
RichIndexerConfig
Rich indexer config options.
RpcConfig
RPC config options.
RunArgs
Parsed command line arguments for ckb run.
StatsArgs
Parsed command line arguments for ckb stats.
StoreConfig
Store config options.
SyncConfig
Chain synchronization config options.
TxPoolConfig
Transaction pool configuration
Url
A parsed URL record.

Enums§

AppConfig
The parsed config file.
DBDriver
Rich indexer database type.
DummyConfig
Dummy worker config options.
ExitCode
Uses 0, 64 - 113 as exit code.
ExtraHashFunction
Specifies the hash function.
FeeEstimatorAlgo
Specifies the fee estimates algorithm.
MinerWorkerConfig
Miner worker config options.
RpcModule
RPC modules.
SupportProtocol

Functions§

default_support_all_protocols
generate_random_key
Generate random secp256k1 key
read_secret_key
Load secret key from path
write_secret_to_file
Secret key storage