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

Method commitShadowTransactions

lineage.go:1227–1262  ·  view source on GitHub ↗

commitShadowTransactions commits all inflight shadow transactions for a parent transaction. It attempts to commit all shadows and returns an error if any fail (for outbox retry). Already-committed shadows return "already committed" error which is treated as success. Parameters: - ctx context.Contex

(ctx context.Context, parentTransactionID string, amount *big.Int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

queueShadowWorkMethod · 0.95

Calls 4

StartMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected