Crate ckb_pow

Source
Expand description

TODO(doc): @quake

Structs§

DummyPowEngine
A mock Pow Engine, mostly for development&test purpose, and may not used in real world verification
EaglesongBlake2bPowEngine
PoW verifier using Eaglesong hash, but with Blake2b as the final hash function
EaglesongPowEngine
PoW verifier using Eaglesong hash

Enums§

Pow
The PoW engine traits bundled

Traits§

AsAny
A trait for casting to trait Any
PowEngine
A trait for PoW engine, which is used to verify PoW

Functions§

pow_message
Combine pow_hash and nonce to a message, in little endian