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

Method resolveBalanceIDs

transaction.go:224–255  ·  view source on GitHub ↗

resolveBalanceIDs resolves source and destination to actual balance IDs. If the source or destination starts with "@", it indicates a balance indicator (like @world) that needs to be resolved to an actual balance ID. This function creates the balance if needed. This should be called BEFORE acquiring

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

executeWithLockMethod · 0.95

Calls 2

StartMethod · 0.45

Tested by

no test coverage detected