Install dependencies
rustup component add rustfmt
rustup component add clippy
Run tests
make ci
Run acceptance integration tests
cargo build
cd test && cargo run ../target/debug/ckb
The subcommand ckb init has an option --export-specs to export spec files
as well, which allows editing the chain spec for development.
The chain spec can switch between different PoW engines. Wiki has the instructions about how to configure it.-
The command ckb cli hashes prints the well-known hashes for current
effective chain spec.
The file docs/hashes.toml contains the well-known hashes for all the bundled
chain specs. The file is generated by:
cargo run cli hashes -b > docs/hashes.toml