-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
txcreate,twview,listaddresses: display transaction date
- The `mmgen-tool` `listaddresses` and `twview` commands, as well as the unspent outputs menu of `mmgen-txcreate`, can now display the date/time of each output in addition to its number of confirmations, block, or age in days. Two date display precisions are available: “approx”, an estimate based on the historical average block confirmation interval, and “exact”, the timestamp of the block containing the output. Since display of the exact date requires an extra RPC call per output, precision defaults to “approx”. The setting also affects the precision of the age-in-days output. Usage: $ mmgen-txcreate -i # 'D' to cycle through display opts, 'x' for exact age $ mmgen-tool listaddresses age_fmt=date exact_age=1 # (or age_fmt=date_time) $ mmgen-tool twview age_fmt=date exact_age=1 # (or age_fmt=date_time) Testing: $ test/test.py -ne regtest $ test/test.py -ne --coin=eth ethdev
- Loading branch information
Showing
9 changed files
with
241 additions
and
67 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
Oops, something went wrong.