65cc857704
This renames lots of variables to be more "correct" (call it output instead of transaction and similar things). This removes duplication by moving repeated into methods. This fixes the behavior of the dsproof calls to be back to the old unit test, while adding the new fields to the unit test for minimal change.