Skip to content

Commit 5c2fd38

Browse files
committed
Add missing "blocktime" description to listtransactions help, fix formatting.
1 parent 07b770c commit 5c2fd38

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ UniValue listtransactions(const UniValue& params, bool fHelp)
14171417
" \"amount\": x.xxx, (numeric) The amount in " + CURRENCY_UNIT + ". This is negative for the 'send' category, and for the\n"
14181418
" 'move' category for moves outbound. It is positive for the 'receive' category,\n"
14191419
" and for the 'move' category for inbound funds.\n"
1420-
" \"vout\" : n, (numeric) the vout value\n"
1420+
" \"vout\": n, (numeric) the vout value\n"
14211421
" \"fee\": x.xxx, (numeric) The amount of the fee in " + CURRENCY_UNIT + ". This is negative and only available for the \n"
14221422
" 'send' category of transactions.\n"
14231423
" \"confirmations\": n, (numeric) The number of confirmations for the transaction. Available for 'send' and \n"
@@ -1426,12 +1426,13 @@ UniValue listtransactions(const UniValue& params, bool fHelp)
14261426
" category of transactions.\n"
14271427
" \"blockindex\": n, (numeric) The block index containing the transaction. Available for 'send' and 'receive'\n"
14281428
" category of transactions.\n"
1429+
" \"blocktime\": xxx, (numeric) The block time in seconds since epoch (1 Jan 1970 GMT).\n"
14291430
" \"txid\": \"transactionid\", (string) The transaction id. Available for 'send' and 'receive' category of transactions.\n"
14301431
" \"time\": xxx, (numeric) The transaction time in seconds since epoch (midnight Jan 1 1970 GMT).\n"
14311432
" \"timereceived\": xxx, (numeric) The time received in seconds since epoch (midnight Jan 1 1970 GMT). Available \n"
14321433
" for 'send' and 'receive' category of transactions.\n"
14331434
" \"comment\": \"...\", (string) If a comment is associated with the transaction.\n"
1434-
" \"label\" : \"label\" (string) A comment for the address/transaction, if any\n"
1435+
" \"label\": \"label\" (string) A comment for the address/transaction, if any\n"
14351436
" \"otheraccount\": \"accountname\", (string) For the 'move' category of transactions, the account the funds came \n"
14361437
" from (for receiving funds, positive amounts), or went to (for sending funds,\n"
14371438
" negative amounts).\n"

0 commit comments

Comments
 (0)