Made nonce & result public
This commit is contained in:
parent
1172b197f7
commit
fc2d9a8607
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ const SALT: &str = "79ziepia7vhjgviiwjhnend3ofjqocsi2winc4ptqhmkvcajihywxcizewvc
|
|||
/// Proof of Work over concrete type T. T can be any type that implements serde::Serialize.
|
||||
#[derive(Serialize, Deserialize, PartialEq, Clone, Copy, Debug)]
|
||||
pub struct PoW<T> {
|
||||
nonce: u128,
|
||||
result: u128,
|
||||
pub nonce: u128,
|
||||
pub result: u128,
|
||||
_spook: PhantomData<T>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue