Skip to content

Commit

Permalink
Pick up persistent state changes (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
marta-lokhova authored Aug 18, 2022
1 parent 64f0c03 commit 9fc46ee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Stellar-internal.x
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,18 @@ struct PersistedSCPStateV0
StoredTransactionSet txSets<>;
};

struct PersistedSCPStateV1
{
// Tx sets are saved separately
SCPEnvelope scpEnvelopes<>;
SCPQuorumSet quorumSets<>;
};

union PersistedSCPState switch (int v)
{
case 0:
PersistedSCPStateV0 v0;
case 1:
PersistedSCPStateV1 v1;
};
}

0 comments on commit 9fc46ee

Please sign in to comment.