-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This provides a CSV address history download link. New URL path is /download/address/io/{address}. The CSV contains rows of the addresses table, with column headers. The rows returned are: - tx_hash - direction: [1,-1] Indicates whether this is input or output of the associated transaction. +1 for output (increasing address balance), -1 for input. This can also be thought of as funding or spending. - io_index: The input or output index in the tx_hash, depending on the direction. - valid_mainchain: [0,1] - value: dcrutil.Amount(value).ToCoin() - time_stamp: uses TimeDef.String() YY-MM-DD HH:MM:SS format, but should maybe be either a timestamp or an ISO formatted string - tx_type: from txhelpers.TxTypeToString(txType) - matching_tx_hash: Can be empty if the tx is funding and the output is not spent. The header sequence is "tx_hash", "direction", "io_index", "valid_mainchain", "value", "time_stamp", "tx_type", "matching_tx_hash". Server's filename recommendation is address-io-[address]-[current best block height at time of download]-[UNIX epoch timestamp].csv. For example: address-io-DseXBL6g6GxvfYAnKqdao2f7WkXDmYTYW87-302678-1545405532.csv A new glyph for the download icon is added to the fonts (SVG, TTF, EOT, and WOFF files).
- Loading branch information
Showing
18 changed files
with
245 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.