Sha256: 7d0b436ee94584c04ff07b0f6c316976af4c2d7922d23fbdfc9a49129f816fd1

Contents?: true

Size: 1.9 KB

Versions: 6

Compression:

Stored size: 1.9 KB

Contents

# Automatically generated on 2015-06-08T11:39:14-07:00
# DO NOT EDIT or your changes may be overwritten
        
require 'xdr'

# === xdr source ============================================================
#
#   struct LedgerHeader
#   {
#       Hash previousLedgerHash; // hash of the previous ledger header
#       Hash txSetHash;          // the tx set that was SCP confirmed
#       Hash txSetResultHash;    // the TransactionResultSet that led to this ledger
#       Hash bucketListHash;     // hash of the ledger state
#   
#       uint32 ledgerSeq; // sequence number of this ledger
#       uint64 closeTime; // network close time
#   
#       int64 totalCoins; // total number of stroops in existence
#   
#       int64 feePool;       // fees burned since last inflation run
#       uint32 inflationSeq; // inflation sequence number
#   
#       uint64 idPool; // last used global ID, used for generating objects
#   
#       int32 baseFee;     // base fee per operation in stroops
#       int32 baseReserve; // account base reserve in stroops
#   
#       Hash skipList[4];  // hashes of ledgers in the past. allows you to jump back
#                          // in time without walking the chain back ledger by ledger
#   };
#
# ===========================================================================
module Stellar
  class LedgerHeader < XDR::Struct
    attribute :previous_ledger_hash, Hash
    attribute :tx_set_hash,          Hash
    attribute :tx_set_result_hash,   Hash
    attribute :bucket_list_hash,     Hash
    attribute :ledger_seq,           Uint32
    attribute :close_time,           Uint64
    attribute :total_coins,          Int64
    attribute :fee_pool,             Int64
    attribute :inflation_seq,        Uint32
    attribute :id_pool,              Uint64
    attribute :base_fee,             Int32
    attribute :base_reserve,         Int32
    attribute :skip_list,            XDR::Array[Hash, 4]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stellar-base-0.0.18 generated/stellar/ledger_header.rb
stellar-base-0.0.17 generated/stellar/ledger_header.rb
stellar-base-0.0.16 generated/stellar/ledger_header.rb
stellar-base-0.0.15 generated/stellar/ledger_header.rb
stellar-base-0.0.14 generated/stellar/ledger_header.rb
stellar-base-0.0.13 generated/stellar/ledger_header.rb