Skip to content

Instantly share code, notes, and snippets.

@e00dan
Last active June 16, 2021 12:09
Show Gist options
  • Save e00dan/ef4b8f164e086913872be4e9e5d727a6 to your computer and use it in GitHub Desktop.
Save e00dan/ef4b8f164e086913872be4e9e5d727a6 to your computer and use it in GitHub Desktop.
➜ ckb
ckb 0.42.0
Nervos Core Dev <[email protected]>
Nervos CKB - The Common Knowledge Base
USAGE:
ckb [OPTIONS] <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-C <path> Runs as if ckb was started in <path> instead of the current working directory.
SUBCOMMANDS:
db-repair Try repair ckb database
export Exports ckb data
help Prints this message or the help of the given subcommand(s)
import Imports ckb data
init Creates a CKB direcotry or reinitializes an existing one
list-hashes Lists well known hashes
migrate Runs ckb migration
miner Runs ckb miner
peer-id About peer id, base on Secp256k1
replay replay ckb process block
reset-data Truncate the database directory
Example:
ckb reset-data --force --database
run Runs ckb node
stats Statics chain information
Example:
ckb -C <dir> stats --from 1 --to 500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment