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

Method getSourceAndDestination

transaction.go:150–209  ·  view source on GitHub ↗

getSourceAndDestination retrieves the source and destination balances for a transaction. It checks if the source or destination starts with "@", indicating the need to create or retrieve a balance by indicator. If not, it retrieves the balances by their IDs. When EnableQueuedChecks is enabled in the

(ctx context.Context, transaction *model.Transaction)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Calls 5

GetBalanceByIDMethod · 0.65
GetBalanceByIDLiteMethod · 0.65
StartMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected