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

Method RejectTransaction

transaction.go:1681–1727  ·  view source on GitHub ↗

RejectTransaction rejects a transaction by updating its status and recording the rejection reason. It starts a tracing span, updates the transaction status and metadata, persists the transaction, and records relevant events and errors. Parameters: - ctx context.Context: The context for the operatio

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

TestRejectTransactionFunction · 0.95
TestRefundWorkerFullFlowFunction · 0.95
startTestAsynqWorkerFunction · 0.80
StartTestAsynqWorkerFunction · 0.80

Calls 7

RecordTransactionMethod · 0.65
StartMethod · 0.45
ErrorMethod · 0.45
InfoMethod · 0.45

Tested by 4

TestRejectTransactionFunction · 0.76
TestRefundWorkerFullFlowFunction · 0.76
startTestAsynqWorkerFunction · 0.64
StartTestAsynqWorkerFunction · 0.64