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

Method prepareDestinationLineageBalances

lineage.go:478–493  ·  view source on GitHub ↗

prepareDestinationLineageBalances pre-creates destination shadow and aggregate balances for all providers. This is called BEFORE acquiring locks to avoid nested lock acquisition deadlocks. Parameters: - ctx context.Context: The context for the operation. - mappings []model.LineageMapping: The sourc

(ctx context.Context, mappings []model.LineageMapping, destinationBalance *model.Balance)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

processLineageDebitMethod · 0.95

Tested by

no test coverage detected