Sha256: 2c7f1eaf581cdaff2041555c5a2eea23b02f4bb9ad7875449572d222f666a1bb

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 KB

Contents

# This code was automatically generated using xdrgen
# DO NOT EDIT or your changes may be overwritten

require 'xdr'

# === xdr source ============================================================
#
#   enum MessageType
#   {
#       ERROR_MSG = 0,
#       HELLO = 1,
#       AUTH = 2,
#       DONT_HAVE = 3,
#   
#       GET_PEERS = 4, // gets a list of peers this guy knows about
#       PEERS = 5,
#   
#       GET_TX_SET = 6, // gets a particular txset by hash
#       TX_SET = 7,
#   
#       TRANSACTION = 8, // pass on a tx you have heard about
#   
#       // SCP
#       GET_SCP_QUORUMSET = 9,
#       SCP_QUORUMSET = 10,
#       SCP_MESSAGE = 11
#   };
#
# ===========================================================================
module Stellar
  class MessageType < XDR::Enum
    member :error_msg,         0
    member :hello,             1
    member :auth,              2
    member :dont_have,         3
    member :get_peers,         4
    member :peers,             5
    member :get_tx_set,        6
    member :tx_set,            7
    member :transaction,       8
    member :get_scp_quorumset, 9
    member :scp_quorumset,     10
    member :scp_message,       11

    seal
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stellar-base-0.8.0 generated/stellar/message_type.rb
stellar-base-0.7.0 generated/stellar/message_type.rb
stellar-base-0.6.1 generated/stellar/message_type.rb
stellar-base-0.6.0 generated/stellar/message_type.rb
stellar-base-0.5.0 generated/stellar/message_type.rb