Sha256: a1cc0f1630c34ee61b91d4103e56365af2af290346943623768c849f40cce311

Contents?: true

Size: 1.7 KB

Versions: 10

Compression:

Stored size: 1.7 KB

Contents

# Automatically generated on 2015-05-14T08:36:04-07:00
# DO NOT EDIT or your changes may be overwritten
        
require 'xdr'

# === xdr source ============================================================
#
#   enum TransactionResultCode
#   {
#       txSUCCESS = 0, // all operations succeeded
#   
#       txFAILED = -1, // one of the operations failed (but none were applied)
#   
#       txTOO_EARLY = -2,         // ledger closeTime before minTime
#       txTOO_LATE = -3,          // ledger closeTime after maxTime
#       txMISSING_OPERATION = -4, // no operation was specified
#       txBAD_SEQ = -5,           // sequence number does not match source account
#   
#       txBAD_AUTH = -6,             // not enough signatures to perform transaction
#       txINSUFFICIENT_BALANCE = -7, // fee would bring account below reserve
#       txNO_ACCOUNT = -8,           // source account not found
#       txINSUFFICIENT_FEE = -9,     // fee is too small
#       txBAD_AUTH_EXTRA = -10,      // too many signatures on transaction
#       txINTERNAL_ERROR = -11       // an unknown error occured
#   };
#
# ===========================================================================
module Stellar
  class TransactionResultCode < XDR::Enum
    member :tx_success,              0
    member :tx_failed,               -1
    member :tx_too_early,            -2
    member :tx_too_late,             -3
    member :tx_missing_operation,    -4
    member :tx_bad_seq,              -5
    member :tx_bad_auth,             -6
    member :tx_insufficient_balance, -7
    member :tx_no_account,           -8
    member :tx_insufficient_fee,     -9
    member :tx_bad_auth_extra,       -10
    member :tx_internal_error,       -11

    seal
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stellar-base-0.0.18 generated/stellar/transaction_result_code.rb
stellar-base-0.0.17 generated/stellar/transaction_result_code.rb
stellar-base-0.0.16 generated/stellar/transaction_result_code.rb
stellar-base-0.0.15 generated/stellar/transaction_result_code.rb
stellar-base-0.0.14 generated/stellar/transaction_result_code.rb
stellar-base-0.0.13 generated/stellar/transaction_result_code.rb
stellar-base-0.0.12 generated/stellar/transaction_result_code.rb
stellar-base-0.0.11 generated/stellar/transaction_result_code.rb
stellar-base-0.0.10 generated/stellar/transaction_result_code.rb
stellar-base-0.0.9 generated/stellar/transaction_result_code.rb