handshake-types 0.1.1

Handshake types
Documentation
1
2
3
4
5
6
7
8
9
10
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd, Eq, Ord)]
pub struct Difficulty {
    num: u64,
}

impl Difficulty {
    pub fn zero() -> Difficulty {
        Difficulty { num: 0 }
    }
}