Skip to main content

Module tx

Module tx 

Source
Expand description

Pure logic for zenith tx.

The public entry point run operates entirely on in-memory source text; the caller is responsible for all filesystem I/O and for deciding whether to persist source_after (the --apply flag lives in lib.rs, not here).

Structs§

TxCmdErr
An error that prevents a TxOutcome from being produced.
TxOutcome
The computed outcome of a successful transaction run (even a rejected one).

Functions§

render_human
Render a human-readable summary of the transaction result.
run
Parse the document source and transaction JSON, run the transaction engine, and return a TxOutcome.