DEV Community

Discussion on: How to build a blockchain from scratch in Rust

Collapse
 
rggh profile image
Red and Green

great tutorial - very clear!
if !self.hash.starts_with(&"0".repeat(blockchain.difficulty))
Is a neat way to check the hash!