| 626 | } |
| 627 | |
| 628 | static void harmony_header(FILE *csvf) |
| 629 | { |
| 630 | /* Type Declaration */ |
| 631 | fprintf(csvf, "HarmonyCSV v0.2"); |
| 632 | /* Add 9 extra blank cols |
| 633 | * (so ea row has same # cols, which is csv spec) */ |
| 634 | fprintf(csvf, ",,,,,,,,,\n"); |
| 635 | |
| 636 | /* Header Declarations */ |
| 637 | fprintf(csvf, "Provenance,cln-bookkeeper"); |
| 638 | /* Only 8 extra blank cols */ |
| 639 | fprintf(csvf, ",,,,,,,,\n"); |
| 640 | |
| 641 | /* Blank Line */ |
| 642 | fprintf(csvf, ",,,,,,,,,\n"); |
| 643 | /* Entries */ |
| 644 | fprintf(csvf, |
| 645 | "Timestamp" /* ISO-8601 */ |
| 646 | ",Venue" |
| 647 | ",Type" |
| 648 | ",Amount" |
| 649 | ",Asset" /* currency */ |
| 650 | ",Transaction ID" |
| 651 | ",Order ID" /* payment hash, if any */ |
| 652 | ",Account" |
| 653 | ",Network ID" /* outpoint */ |
| 654 | ",Note" /* tag */ |
| 655 | ); |
| 656 | } |
| 657 | |
| 658 | static char *income_event_harmony_type(const struct income_event *ev) |
| 659 | { |
nothing calls this directly
no outgoing calls
no test coverage detected