generated/stellar/stellar_message.rb in stellar-base-0.8.0 vs generated/stellar/stellar_message.rb in stellar-base-0.9.0
- old
+ new
@@ -33,10 +33,12 @@
# uint256 qSetHash;
# case SCP_QUORUMSET:
# SCPQuorumSet qSet;
# case SCP_MESSAGE:
# SCPEnvelope envelope;
+# case GET_SCP_STATE:
+# uint32 getSCPLedgerSeq; // ledger seq requested ; if 0, requests the latest
# };
#
# ===========================================================================
module Stellar
class StellarMessage < XDR::Union
@@ -52,19 +54,21 @@
switch :tx_set, :tx_set
switch :transaction, :transaction
switch :get_scp_quorumset, :q_set_hash
switch :scp_quorumset, :q_set
switch :scp_message, :envelope
+ switch :get_scp_state, :get_scp_ledger_seq
- attribute :error, Error
- attribute :hello, Hello
- attribute :auth, Auth
- attribute :dont_have, DontHave
- attribute :peers, XDR::VarArray[PeerAddress]
- attribute :tx_set_hash, Uint256
- attribute :tx_set, TransactionSet
- attribute :transaction, TransactionEnvelope
- attribute :q_set_hash, Uint256
- attribute :q_set, SCPQuorumSet
- attribute :envelope, SCPEnvelope
+ attribute :error, Error
+ attribute :hello, Hello
+ attribute :auth, Auth
+ attribute :dont_have, DontHave
+ attribute :peers, XDR::VarArray[PeerAddress]
+ attribute :tx_set_hash, Uint256
+ attribute :tx_set, TransactionSet
+ attribute :transaction, TransactionEnvelope
+ attribute :q_set_hash, Uint256
+ attribute :q_set, SCPQuorumSet
+ attribute :envelope, SCPEnvelope
+ attribute :get_scp_ledger_seq, Uint32
end
end