@@ -1351,8 +1351,8 @@ static UniValue listreceivedbyaddress(const Config &config,
1351
1351
RPCResult{
1352
1352
" [\n "
1353
1353
" {\n "
1354
- " \" involvesWatchonly\" : true, (bool) Only returned if "
1355
- " imported addresses were involved in transaction\n "
1354
+ " \" involvesWatchonly\" : true, (bool) Only returns true "
1355
+ " if imported addresses were involved in transaction\n "
1356
1356
" \" address\" : \" receivingaddress\" , (string) The receiving "
1357
1357
" address\n "
1358
1358
" \" amount\" : x.xxx, (numeric) The total "
@@ -1415,8 +1415,8 @@ static UniValue listreceivedbylabel(const Config &config,
1415
1415
},
1416
1416
RPCResult{" [\n "
1417
1417
" {\n "
1418
- " \" involvesWatchonly\" : true, (bool) Only returned if "
1419
- " imported addresses were involved in transaction\n "
1418
+ " \" involvesWatchonly\" : true, (bool) Only returns "
1419
+ " true if imported addresses were involved in transaction\n "
1420
1420
" \" amount\" : x.xxx, (numeric) The total "
1421
1421
" amount received by addresses with this label\n "
1422
1422
" \" confirmations\" : n, (numeric) The number of "
@@ -1546,9 +1546,11 @@ static const std::string TransactionDescriptionString() {
1546
1546
" confirmations means the\n "
1547
1547
" transaction "
1548
1548
" conflicted that many blocks ago.\n "
1549
- " \" trusted\" : xxx, (bool) Whether we "
1550
- " consider the outputs of this unconfirmed transaction safe to "
1551
- " spend.\n "
1549
+ " \" generated\" : xxx, (bool) Only "
1550
+ " present if transaction only input is a coinbase one.\n "
1551
+ " \" trusted\" : xxx, (bool) Only "
1552
+ " present if we consider transaction to be trusted and so safe to "
1553
+ " spend from.\n "
1552
1554
" \" blockhash\" : \" hashvalue\" , (string) The "
1553
1555
" block hash containing the transaction.\n "
1554
1556
" \" blockindex\" : n, (numeric) The "
@@ -1557,6 +1559,12 @@ static const std::string TransactionDescriptionString() {
1557
1559
" block time in seconds since epoch (1 Jan 1970 GMT).\n "
1558
1560
" \" txid\" : \" transactionid\" , (string) The "
1559
1561
" transaction id.\n "
1562
+ " \" walletconflicts\" : [ (array) "
1563
+ " Conflicting transaction ids.\n "
1564
+ " \" txid\" , (string) The "
1565
+ " transaction id.\n "
1566
+ " ...\n "
1567
+ " ],\n "
1560
1568
" \" time\" : xxx, (numeric) The "
1561
1569
" transaction time in seconds since epoch (midnight Jan 1 1970 "
1562
1570
" GMT).\n "
@@ -1598,6 +1606,8 @@ UniValue listtransactions(const Config &config, const JSONRPCRequest &request) {
1598
1606
RPCResult{
1599
1607
" [\n "
1600
1608
" {\n "
1609
+ " \" involvesWatchonly\" : xxx, (bool) Only returns true if "
1610
+ " imported addresses were involved in transaction.\n "
1601
1611
" \" address\" :\" address\" , (string) The bitcoin address of "
1602
1612
" the transaction.\n "
1603
1613
" \" category\" : (string) The transaction "
@@ -1750,6 +1760,8 @@ static UniValue listsinceblock(const Config &config,
1750
1760
RPCResult{
1751
1761
" {\n "
1752
1762
" \" transactions\" : [\n "
1763
+ " \" involvesWatchonly\" : xxx, (bool) Only returns true if "
1764
+ " imported addresses were involved in transaction.\n "
1753
1765
" \" address\" :\" address\" , (string) The bitcoin address of "
1754
1766
" the transaction.\n "
1755
1767
" \" category\" : (string) The transaction "
@@ -1929,57 +1941,61 @@ static UniValue gettransaction(const Config &config,
1929
1941
},
1930
1942
RPCResult{
1931
1943
" {\n "
1932
- " \" amount\" : x.xxx, (numeric) The transaction amount "
1944
+ " \" amount\" : x.xxx, (numeric) The transaction amount "
1933
1945
" in " +
1934
1946
CURRENCY_UNIT +
1935
1947
" \n "
1936
- " \" fee\" : x.xxx, (numeric) The amount of the fee in " +
1948
+ " \" fee\" : x.xxx, (numeric) The amount of the fee "
1949
+ " in " +
1937
1950
CURRENCY_UNIT +
1938
1951
" . This is negative and only available for the \n "
1939
1952
" 'send' category of transactions.\n " +
1940
1953
TransactionDescriptionString () +
1941
- " \" details\" : [\n "
1942
- " {\n "
1943
- " \" address\" : \" address\" , (string) The bitcoin "
1944
- " address involved in the transaction\n "
1945
- " \" category\" : (string) The "
1946
- " transaction category.\n "
1947
- " \" send\" Transactions sent.\n "
1948
- " \" receive\" Non-coinbase "
1949
- " transactions received.\n "
1950
- " \" generate\" Coinbase "
1951
- " transactions received with more than 100 confirmations.\n "
1952
- " \" immature\" Coinbase "
1953
- " transactions received with 100 or fewer confirmations.\n "
1954
- " \" orphan\" Orphaned coinbase "
1955
- " transactions received.\n "
1956
- " \" amount\" : x.xxx, (numeric) The amount "
1957
- " in " +
1954
+ +" \" details\" : [\n "
1955
+ " {\n "
1956
+ " \" involvesWatchonly\" : xxx, (bool) Only returns "
1957
+ " true if imported addresses were involved in transaction.\n "
1958
+ " \" address\" : \" address\" , (string) The bitcoin "
1959
+ " address involved in the transaction\n "
1960
+ " \" category\" : (string) The "
1961
+ " transaction category.\n "
1962
+ " \" send\" Transactions "
1963
+ " sent.\n "
1964
+ " \" receive\" Non-coinbase "
1965
+ " transactions received.\n "
1966
+ " \" generate\" Coinbase "
1967
+ " transactions received with more than 100 confirmations.\n "
1968
+ " \" immature\" Coinbase "
1969
+ " transactions received with 100 or fewer confirmations.\n "
1970
+ " \" orphan\" Orphaned coinbase "
1971
+ " transactions received.\n "
1972
+ " \" amount\" : x.xxx, (numeric) The amount "
1973
+ " in " +
1958
1974
CURRENCY_UNIT +
1959
1975
" \n "
1960
- " \" label\" : \" label\" , (string) A comment for "
1961
- " the address/transaction, if any\n "
1962
- " \" vout\" : n, (numeric) the vout "
1976
+ " \" label\" : \" label\" , (string) A comment "
1977
+ " for the address/transaction, if any\n "
1978
+ " \" vout\" : n, (numeric) the vout "
1963
1979
" value\n "
1964
- " \" fee\" : x.xxx, (numeric) The amount of "
1965
- " the fee in " +
1980
+ " \" fee\" : x.xxx, (numeric) The amount "
1981
+ " of the fee in " +
1966
1982
CURRENCY_UNIT +
1967
1983
" . This is negative and only available for the \n "
1968
1984
" 'send' category of "
1969
1985
" transactions.\n "
1970
- " \" abandoned\" : xxx (bool) 'true' if the "
1986
+ " \" abandoned\" : xxx (bool) 'true' if the "
1971
1987
" transaction has been abandoned (inputs are respendable). Only "
1972
1988
" available for the \n "
1973
1989
" 'send' category of "
1974
1990
" transactions.\n "
1975
- " }\n "
1976
- " ,...\n "
1977
- " ],\n "
1978
- " \" hex\" : \" data\" (string) Raw data for transaction\n "
1979
- " \" decoded\" : transaction (json object) Optional, the "
1991
+ " }\n "
1992
+ " ,...\n "
1993
+ " ],\n "
1994
+ " \" hex\" : \" data\" (string) Raw data for transaction\n "
1995
+ " \" decoded\" : transaction (json object) Optional, the "
1980
1996
" decoded transaction (only present when `verbose` is passed), "
1981
1997
" equivalent to the\n "
1982
- " RPC "
1998
+ " RPC "
1983
1999
" decoderawtransaction method, or the RPC getrawtransaction method "
1984
2000
" when `verbose` is passed.\n "
1985
2001
" }\n " },
0 commit comments