pub trait RandomX { type Error; // Required method fn calculate_hash(&self, buf: &[u8]) -> Result<[u8; 32], Self::Error>; }
A trait to represent the RandomX VM.
RandomX