Expand description
CKB command line arguments and config options.
Modules§
- cli
- CKB command line arguments parser.
Structs§
- Block
Assembler Config - Block assembler config options.
- CKBApp
Config - The main config file for the most subcommands. Usually it is the
ckb.toml
in the CKB root directory. - Chain
Config - The chain config options.
- Customize
Spec - Customize parameters for chain spec.
- DBConfig
- Database config options.
- Daemon
Args - Parsed command line arguments for
ckb daemon
. - Eaglesong
Simple Config - Eaglesong worker config options.
- Export
Args - Parsed command line arguments for
ckb export
. - FeeEstimator
Config - Fee estimator config options.
- Header
MapConfig - Header map config options.
- Import
Args - Parsed command line arguments for
ckb import
. - Indexer
Config - Indexer config options.
- Indexer
Sync Config - Indexer sync config options.
- Init
Args - Parsed command line arguments for
ckb init
. - LogConfig
- The whole CKB logger configuration.
- Memory
Tracker Config - Memory tracker config options.
- Metrics
Config - The whole CKB metrics configuration.
- Migrate
Args - Parsed command line arguments for
ckb migrate
. - Miner
AppConfig - The miner config file for
ckb miner
. Usually it is theckb-miner.toml
in the CKB root directory. - Miner
Args - Parsed command line arguments for
ckb miner
. - Miner
Client Config - RPC client config options.
- Miner
Config - Miner config options.
- Network
Alert Config - Network alert config options.
- Network
Config - Network config options.
- Notify
Config - Notify config options.
- PeerID
Args - Parsed command line arguments for
ckb peer-id
. - Replay
Args - Parsed command line arguments for
ckb replay
. - Reset
Data Args - Parsed command line arguments for
ckb reset-data
. - Rich
Indexer Config - Rich indexer config options.
- RpcConfig
- RPC config options.
- RunArgs
- Parsed command line arguments for
ckb run
. - Stats
Args - Parsed command line arguments for
ckb stats
. - Store
Config - Store config options.
- Sync
Config - Chain synchronization config options.
- TxPool
Config - Transaction pool configuration
- Url
- A parsed URL record.
Enums§
- AppConfig
- The parsed config file.
- DBDriver
- Rich indexer database type.
- Dummy
Config - Dummy worker config options.
- Exit
Code - Uses 0, 64 - 113 as exit code.
- Extra
Hash Function - Specifies the hash function.
- FeeEstimator
Algo - Specifies the fee estimates algorithm.
- Miner
Worker Config - Miner worker config options.
- RpcModule
- RPC modules.
- Support
Protocol
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