pub trait PowAlgorithm: Send + Sync { // Required methods fn hash(&self, data: &[u8]) -> [u8; 32]; fn name(&self) -> &'static str; }
Swappable PoW hash algorithm.
PoW