generated/stellar/stellar_message.rb in stellar-base-0.4.0 vs generated/stellar/stellar_message.rb in stellar-base-0.5.0
- old
+ new
@@ -9,10 +9,12 @@
# {
# case ERROR_MSG:
# Error error;
# case HELLO:
# Hello hello;
+# case AUTH:
+# Auth auth;
# case DONT_HAVE:
# DontHave dontHave;
# case GET_PEERS:
# void;
# case PEERS:
@@ -40,10 +42,11 @@
class StellarMessage < XDR::Union
switch_on MessageType, :type
switch :error_msg, :error
switch :hello, :hello
+ switch :auth, :auth
switch :dont_have, :dont_have
switch :get_peers
switch :peers, :peers
switch :get_tx_set, :tx_set_hash
switch :tx_set, :tx_set
@@ -52,9 +55,10 @@
switch :scp_quorumset, :q_set
switch :scp_message, :envelope
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