Sha256: e1f4617f02e3257a4a5ad94ceb48779e9f5b5d19a7fe8e611de3aa895040c2a9

Contents?: true

Size: 1.4 KB

Versions: 15

Compression:

Stored size: 1.4 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,
#       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,
#       GET_SCP_STATE = 12,
#   
#       // new messages
#       HELLO = 13,
#   
#       SURVEY_REQUEST = 14,
#       SURVEY_RESPONSE = 15
#   };
#
# ===========================================================================
module Stellar
  class MessageType < XDR::Enum
    member :error_msg,         0
    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
    member :get_scp_state,     12
    member :hello,             13
    member :survey_request,    14
    member :survey_response,   15

    seal
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
stellar-base-0.31.0 generated/stellar/message_type.rb
stellar-base-0.30.0 generated/stellar/message_type.rb
stellar-base-0.29.0 generated/stellar/message_type.rb
stellar-base-0.28.0 generated/stellar/message_type.rb
stellar-base-0.27.0 generated/stellar/message_type.rb
stellar-base-0.26.0 generated/stellar/message_type.rb
stellar-base-0.25.0 generated/stellar/message_type.rb
stellar-base-0.24.0 generated/stellar/message_type.rb
stellar-base-0.24.0.pre.1 generated/stellar/message_type.rb
stellar-base-0.23.1 generated/stellar/message_type.rb
stellar-base-0.23.0 generated/stellar/message_type.rb
stellar-base-0.23.0.rc2 generated/stellar/message_type.rb
stellar-base-0.23.0.rc1 generated/stellar/message_type.rb
stellar-base-0.23.0.pre1 generated/stellar/message_type.rb
stellar-base-0.22.0 generated/stellar/message_type.rb