From 0e6b8f1a28510d708c65ce0e8fce294f870e3800 Mon Sep 17 00:00:00 2001 From: marta-lokhova Date: Thu, 18 Aug 2022 13:26:16 -0700 Subject: [PATCH] Pick up persistent state changes --- Stellar-internal.x | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Stellar-internal.x b/Stellar-internal.x index 0fe4a98..73684db 100644 --- a/Stellar-internal.x +++ b/Stellar-internal.x @@ -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; }; } \ No newline at end of file