generated/stellar/hello.rb in stellar-base-0.0.18 vs generated/stellar/hello.rb in stellar-base-0.0.19
- old
+ new
@@ -1,24 +1,26 @@
-# Automatically generated on 2015-05-13T15:00:04-07:00
+# This code was automatically generated using xdrgen
# DO NOT EDIT or your changes may be overwritten
-
+
require 'xdr'
# === xdr source ============================================================
#
# struct Hello
# {
-# int protocolVersion;
+# uint32 ledgerVersion;
+# uint32 overlayVersion;
# string versionStr<100>;
# int listeningPort;
-# opaque peerID[32];
+# NodeID peerID;
# };
#
# ===========================================================================
module Stellar
class Hello < XDR::Struct
- attribute :protocol_version, XDR::Int
- attribute :version_str, XDR::String[100]
- attribute :listening_port, XDR::Int
- attribute :peer_id, XDR::Opaque[32]
+ attribute :ledger_version, Uint32
+ attribute :overlay_version, Uint32
+ attribute :version_str, XDR::String[100]
+ attribute :listening_port, XDR::Int
+ attribute :peer_id, NodeID
end
end