Skip to content

Commit e75760f

Browse files
thephezcodablock
authored andcommitted
Update "listtransactions" and "listsinceblock" RPC help (#2811)
- Move "confirmations" to match actual RPC output order
1 parent 8987a6c commit e75760f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wallet/rpcwallet.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1571,11 +1571,11 @@ UniValue listtransactions(const JSONRPCRequest& request)
15711571
" \"vout\": n, (numeric) the vout value\n"
15721572
" \"fee\": x.xxx, (numeric) The amount of the fee in " + CURRENCY_UNIT + ". This is negative and only available for the \n"
15731573
" 'send' category of transactions.\n"
1574-
" \"instantlock\" : true|false, (bool) Current transaction lock state. Available for 'send' and 'receive' category of transactions.\n"
1575-
" \"chainlock\" : true|false, (bool) The state of the corresponding block chainlock\n"
15761574
" \"confirmations\": n, (numeric) The number of blockchain confirmations for the transaction. Available for 'send' and \n"
15771575
" 'receive' category of transactions. Negative confirmations indicate the\n"
15781576
" transation conflicts with the block chain\n"
1577+
" \"instantlock\" : true|false, (bool) Current transaction lock state. Available for 'send' and 'receive' category of transactions.\n"
1578+
" \"chainlock\" : true|false, (bool) The state of the corresponding block chainlock\n"
15791579
" \"trusted\": xxx, (bool) Whether we consider the outputs of this unconfirmed transaction safe to spend.\n"
15801580
" \"blockhash\": \"hashvalue\", (string) The block hash containing the transaction. Available for 'send' and 'receive'\n"
15811581
" category of transactions.\n"
@@ -1776,10 +1776,10 @@ UniValue listsinceblock(const JSONRPCRequest& request)
17761776
" outbound. It is positive for the 'receive' category, and for the 'move' category for inbound funds.\n"
17771777
" \"vout\" : n, (numeric) the vout value\n"
17781778
" \"fee\": x.xxx, (numeric) The amount of the fee in " + CURRENCY_UNIT + ". This is negative and only available for the 'send' category of transactions.\n"
1779-
" \"instantlock\" : true|false, (bool) Current transaction lock state. Available for 'send' and 'receive' category of transactions.\n"
1780-
" \"chainlock\" : true|false, (bool) The state of the corresponding block chainlock\n"
17811779
" \"confirmations\" : n, (numeric) The number of blockchain confirmations for the transaction. Available for 'send' and 'receive' category of transactions.\n"
17821780
" When it's < 0, it means the transaction conflicted that many blocks ago.\n"
1781+
" \"instantlock\" : true|false, (bool) Current transaction lock state. Available for 'send' and 'receive' category of transactions.\n"
1782+
" \"chainlock\" : true|false, (bool) The state of the corresponding block chainlock\n"
17831783
" \"blockhash\": \"hashvalue\", (string) The block hash containing the transaction. Available for 'send' and 'receive' category of transactions.\n"
17841784
" \"blockindex\": n, (numeric) The index of the transaction in the block that includes it. Available for 'send' and 'receive' category of transactions.\n"
17851785
" \"blocktime\": xxx, (numeric) The block time in seconds since epoch (1 Jan 1970 GMT).\n"

0 commit comments

Comments
 (0)