feat(machine): apply the settle_transaction operator op (ADR-005 §6) #124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/settle-transaction-op"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Machine half of spirekeeper#50. When the operator records in spirekeeper that they paid an owed customer by hand, the published
settle_transaction {id, at, txid, note}op flips the machine's owndispense_error/partialrow toremediatedwithsettled-off-machine:<op id>:<note>as provenance. Goes through the existingremediateTransaction, which only touches rows still in an error state, so re-delivery is a no-op; the op is filtered out beforeapplyOperatorCassetteOpslikeresume_cash_out.ADR-005 §6 updated to describe what was built (NIP-17 alert, full-amount off-machine settle).
vue-tsc clean.
settlement-watch.test.tshas 5 failures that are identical on a cleandevcheckout — not from this change; noted separately.Refs #122.