MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / fetchTransactions

Function fetchTransactions

transaction.go:600–651  ·  view source on GitHub ↗

fetchTransactions fetches transactions in batches and sends them to the jobs channel. It starts a tracing span, iterates through the transactions, and handles context cancellation and errors. Parameters: - ctx context.Context: The context for the operation. - parentTransactionID string: The ID of t

(ctx context.Context, parentTransactionID string, batchSize int, gt getTxns, jobs chan *model.Transaction, errChan chan error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

StartMethod · 0.45

Tested by

no test coverage detected