HomePhabricator

[Iguana] Add `-format=csv` to iguana

Description

[Iguana] Add -format=csv to iguana

Summary:
This allows users to view the script trace in a spreadsheet software.

An example how this would look like in Google Sheets (here a Agora Partial trace):
https://docs.google.com/spreadsheets/d/1KJLV9nhkMzXTI3dzjWXBAuXiUX61od15p1ztscUqOUg/edit?usp=sharing

In the future, we can extend the CSV file with additional columns, like the number of bytes used so far (for the 520 push limit) and the number of non-push ops so far (for the 201 opcode limit).

Depends on D16851.

Test Plan: ninja check-iguana

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D16852

Details

Provenance
tobias_ruckAuthored on Thu, Oct 3, 11:37
tobias_ruckPushed on Fri, Oct 11, 08:48
Reviewer
Restricted Project
Differential Revision
D16852: [Iguana] Add `-format=csv` to iguana
Parents
rABC18bfb880febc: [Iguana] Refactor interpreter and formatter
Branches
Unknown
Tags
Unknown