Skip to main content

Module script_run

Module script_run 

Source
Expand description

Running one stored script over every transaction of an account.

Structs§

ScriptRun
A script failure stops the run at the first transaction it meets it and writes nothing: failures then holds that one failure, ran the transactions before it, and committed is empty.
TransactionFailure
The script failure that stopped a run, on the transaction it met it.

Enums§

RunError

Functions§

run_on_account
Runs the stored script on each transaction of the account, then writes every script tag effect in one all-or-nothing batch. A disabled script runs too: only the stored row decides.