electrum

package
v0.0.0-...-6060dae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Trans

func Trans(d *[]CSV, v *ledger.ViewData)

Convert to Ledger format and pack it up into ledger.ViewData

func UnmarshalCSV

func UnmarshalCSV(f *os.File, d *[]CSV)

Unmarshal the CSV into a struct

Types

type CSV

type CSV struct {
	TxID     string `csv:"transaction_hash"`
	Label    string `csv:"label"`
	Conf     string `csv:"confirmations"`
	Amount   string `csv:"value"`
	Fee      string `csv:"fee"`
	Datetime string `csv:"timestamp"`
}

A data structure to match the CSV from Bitstamp

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL