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

Method acquireLineageLocks

lineage.go:506–522  ·  view source on GitHub ↗

acquireLineageLocks acquires distributed locks for multiple shadow balances using MultiLocker. MultiLocker handles sorting (prevents deadlock) and deduplication automatically. This is used for both credit and debit lineage processing to prevent race conditions. Parameters: - ctx context.Context: Th

(ctx context.Context, balanceIDs []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

processLineageCreditMethod · 0.95
processLineageDebitMethod · 0.95

Calls 3

LockMethod · 0.95
ConfigMethod · 0.95
GenerateUUIDWithSuffixFunction · 0.92

Tested by

no test coverage detected