Sha256: 0cf578320cb54ee8030e77267b35d1a311f338a14e620c56be9529f720bda036

Contents?: true

Size: 1.13 KB

Versions: 11

Compression:

Stored size: 1.13 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,
#       DONT_HAVE = 2,
#   
#       GET_PEERS = 3, // gets a list of peers this guy knows about
#       PEERS = 4,
#   
#       GET_TX_SET = 5, // gets a particular txset by hash
#       TX_SET = 6,
#   
#       TRANSACTION = 7, // pass on a tx you have heard about
#   
#       // SCP
#       GET_SCP_QUORUMSET = 8,
#       SCP_QUORUMSET = 9,
#       SCP_MESSAGE = 10
#   };
#
# ===========================================================================
module Stellar
  class MessageType < XDR::Enum
    member :error_msg,         0
    member :hello,             1
    member :dont_have,         2
    member :get_peers,         3
    member :peers,             4
    member :get_tx_set,        5
    member :tx_set,            6
    member :transaction,       7
    member :get_scp_quorumset, 8
    member :scp_quorumset,     9
    member :scp_message,       10

    seal
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
stellar-base-0.4.0 generated/stellar/message_type.rb
open-core-0.3.0 generated/stellar/message_type.rb
stellar-base-0.3.0 generated/stellar/message_type.rb
stellar-base-0.2.0 generated/stellar/message_type.rb
stellar-base-0.1.4 generated/stellar/message_type.rb
stellar-base-0.1.3 generated/stellar/message_type.rb
stellar-base-0.1.2 generated/stellar/message_type.rb
stellar-base-0.1.1 generated/stellar/message_type.rb
stellar-base-0.1.0 generated/stellar/message_type.rb
stellar-base-0.0.20 generated/stellar/message_type.rb
stellar-base-0.0.19 generated/stellar/message_type.rb