Expand description
Proof of Work (PoW) engine implementations.
This crate provides the PoW engine interface and various implementations for CKB’s mining algorithm, including Eaglesong and dummy engines for testing.
Structs§
- Dummy
PowEngine - A mock Pow Engine, mostly for development&test purpose, and may not used in real world verification
- Eaglesong
Blake2b PowEngine - PoW verifier using Eaglesong hash, but with Blake2b as the final hash function
- Eaglesong
PowEngine - PoW verifier using Eaglesong hash
Enums§
- Pow
- The PoW engine traits bundled
Traits§
Functions§
- pow_
message - Combine pow_hash and nonce to a message, in little endian