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

Method processLineage

lineage.go:126–168  ·  view source on GitHub ↗

processLineage handles fund lineage tracking for a transaction. It processes both credit (incoming funds with provider tracking) and debit (fund allocation from shadow balances). Parameters: - ctx context.Context: The context for the operation. - txn *model.Transaction: The transaction being proces

(ctx context.Context, txn *model.Transaction, sourceBalance, destinationBalance *model.Balance)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 6

getLineageProviderMethod · 0.95
processLineageCreditMethod · 0.95
processLineageDebitMethod · 0.95
NotifyErrorFunction · 0.92
StartMethod · 0.45

Tested by

no test coverage detected