Skip to content

Stack Evaluator

Kefkius edited this page Sep 5, 2015 · 2 revisions

Stack Evaluator

The Stack Evaluator is a tool that one can use to step through transaction scripts, or evaluate them in full.

It's possible to specify a transaction being spent by the script via checking the 'Specify transaction being spent' checkbox and entering the raw transaction into the widget that appears. If a spending transaction is specified, you can also select the input which you want to be put onto the stack before executing the script.

The "Stack" area provides a visual representation of the stack during script execution. The "Stack log" area provides a log of script operations with context about them.

Clicking "Step" will advance the script execution by one operation. Clicking "Reset" will reset the steps that have been executed. Clicking "Evaluate" will execute the entire script at once, logging the results as if the "Step" button had been clicked for each operation.

Images

Stack View demonstration