package
2.6.0+incompatible
Repository: https://github.com/stellar/stellar-etl.git
Documentation: pkg.go.dev

# Functions

GetAllHistory returns a slice of operations, trades, effects, transactions, diagnostic events for the ledgers in the provided range (inclusive on both ends).
GetLedgerRange calculates the ledger range that spans the provided date range.
GetLedgers returns a slice of ledger close metas for the ledgers in the provided range (inclusive on both ends).
GetLedgers returns a slice of ledger close metas for the ledgers in the provided range (inclusive on both ends).
GetOfferChanges gets the offer changes that occurred between the firstSeq ledger and nextSeq ledger.
GetOperations returns a slice of operations for the ledgers in the provided range (inclusive on both ends).
GetPaymentOperations returns a slice of payment operations that can include new assets from the ledgers in the provided range (inclusive on both ends).
GetPaymentOperations returns a slice of payment operations that can include new assets from the ledgers in the provided range (inclusive on both ends).
GetTrades returns a slice of trades for the ledgers in the provided range (inclusive on both ends).
GetTransactions returns a slice of transactions for the ledgers in the provided range (inclusive on both ends).
NewOrderbookParser creates a new orderbook parser and returns it.
PrepareCaptiveCore creates a new captive core instance and prepares it with the given range.
ReceiveParsedOrderbooks reads a batch from the orderbookChannel, parses it using an orderbook parser, and returns the parser.
StreamChanges reads in ledgers, processes the changes, and send the changes to the channel matching their type Ledgers are processed in batches of size <batchSize>.
StreamOrderbooks exports all the batches of orderbooks between start and end to the orderbookChannel.
UpdateOrderbook updates an orderbook at ledger start to its state at ledger end.

# Variables

No description provided by the author

# Structs

AllHistoryTransformInput is a representation of the input for the TransformOperation function.
No description provided by the author
ChangeBatch represents the changes in a batch of ledgers represented by the range [BatchStart, BatchEnd).
No description provided by the author
LedgerTransformInput is a representation of the input for the TransformTransaction function.
OperationTransformInput is a representation of the input for the TransformOperation function.
OrderbookBatch represents a batch of orderbooks.
OrderbookParser handles parsing orderbooks.
TradeTransformInput is a representation of the input for the TransformTrade function.