Make all states serializable
This commit is contained in:
parent
1dfa5184e5
commit
f629d9e302
|
@ -82,7 +82,7 @@ pub struct Request {
|
||||||
piUser: CompactProof,
|
piUser: CompactProof,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct State {
|
pub struct State {
|
||||||
d: Scalar,
|
d: Scalar,
|
||||||
D: RistrettoPoint,
|
D: RistrettoPoint,
|
||||||
|
|
|
@ -73,7 +73,7 @@ pub struct Request {
|
||||||
piUser: CompactProof,
|
piUser: CompactProof,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct State {
|
pub struct State {
|
||||||
d: Scalar,
|
d: Scalar,
|
||||||
D: RistrettoPoint,
|
D: RistrettoPoint,
|
||||||
|
|
|
@ -99,7 +99,7 @@ pub struct Request {
|
||||||
piUser: CompactProof,
|
piUser: CompactProof,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct State {
|
pub struct State {
|
||||||
d: Scalar,
|
d: Scalar,
|
||||||
D: RistrettoPoint,
|
D: RistrettoPoint,
|
||||||
|
|
|
@ -137,7 +137,7 @@ pub struct Request {
|
||||||
piUser: CompactProof,
|
piUser: CompactProof,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct State {
|
pub struct State {
|
||||||
d: Scalar,
|
d: Scalar,
|
||||||
D: RistrettoPoint,
|
D: RistrettoPoint,
|
||||||
|
|
|
@ -73,7 +73,7 @@ pub struct Request {
|
||||||
piUser: CompactProof,
|
piUser: CompactProof,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct State {
|
pub struct State {
|
||||||
d: Scalar,
|
d: Scalar,
|
||||||
D: RistrettoPoint,
|
D: RistrettoPoint,
|
||||||
|
|
|
@ -73,7 +73,7 @@ pub struct Request {
|
||||||
piUser: CompactProof,
|
piUser: CompactProof,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct State {
|
pub struct State {
|
||||||
d: Scalar,
|
d: Scalar,
|
||||||
D: RistrettoPoint,
|
D: RistrettoPoint,
|
||||||
|
|
|
@ -96,7 +96,7 @@ pub struct Request {
|
||||||
piUser: CompactProof,
|
piUser: CompactProof,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct State {
|
pub struct State {
|
||||||
d: Scalar,
|
d: Scalar,
|
||||||
D: RistrettoPoint,
|
D: RistrettoPoint,
|
||||||
|
|
Loading…
Reference in New Issue