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
Install dependencies
rustup component add rustfmt
rustup component add clippy
Run tests
make ci
Run acceptance integration tests
make integration
The chain spec in specs/dev.toml
can switch between different PoW engines.
CKB now supports following PoW Engines.
[pow]
func = "Eaglesong"
[pow]
func = "Dummy"
and don't forget to modify ckb-miner.toml
miner workers section:
[[miner.workers]]
worker_type = "Dummy"
delay_type = "Constant"
value = 5000
cargo install moleculec