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

Method prepareQueuedBatchTransaction

transaction.go:1061–1089  ·  view source on GitHub ↗

prepareQueuedBatchTransaction performs the per-transaction work inside a coalesced batch: hooks, reference validation, in-memory balance application, and persistence shaping.

(ctx context.Context, span trace.Span, txn *model.Transaction, balancesByID map[string]*model.Balance, preHooks []*ledgerforgehooks.Hook, prefetchedReferences, existingReferences, batchReferences map[string]struct{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Tested by

no test coverage detected