Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/rpcwallet.cpp
Show First 20 Lines • Show All 2,171 Lines • ▼ Show 20 Lines | if (request.fHelp || request.params.size() > 4) { | ||||
"If \"blockhash\" is no longer a part of the main chain, " | "If \"blockhash\" is no longer a part of the main chain, " | ||||
"transactions from the fork point onward are included.\n" | "transactions from the fork point onward are included.\n" | ||||
"Additionally, if include_removed is set, transactions affecting " | "Additionally, if include_removed is set, transactions affecting " | ||||
"the wallet which were removed are returned in the \"removed\" " | "the wallet which were removed are returned in the \"removed\" " | ||||
"array.\n" | "array.\n" | ||||
"\nArguments:\n" | "\nArguments:\n" | ||||
"1. \"blockhash\" (string, optional) The block hash to " | "1. \"blockhash\" (string, optional) The block hash to " | ||||
"list transactions since\n" | "list transactions since\n" | ||||
"2. target_confirmations: (numeric, optional, default=1) The " | "2. target_confirmations: (numeric, optional, default=1) Return " | ||||
"confirmations required, must be 1 or more\n" | "the nth block hash from the main chain. e.g. 1 would mean the " | ||||
"best block hash. Note: this is not used as a filter, but only " | |||||
"affects [lastblock] in the return value\n" | |||||
"3. include_watchonly: (bool, optional, default=false) " | "3. include_watchonly: (bool, optional, default=false) " | ||||
"Include transactions to watch-only addresses (see " | "Include transactions to watch-only addresses (see " | ||||
"'importaddress')\n" | "'importaddress')\n" | ||||
"4. include_removed: (bool, optional, default=true) Show " | "4. include_removed: (bool, optional, default=true) Show " | ||||
"transactions that were removed due to a reorg in the \"removed\" " | "transactions that were removed due to a reorg in the \"removed\" " | ||||
"array\n" | "array\n" | ||||
" (not " | " (not " | ||||
"guaranteed to work on pruned nodes)\n" | "guaranteed to work on pruned nodes)\n" | ||||
▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | if (request.fHelp || request.params.size() > 4) { | ||||
" \"removed\": [\n" | " \"removed\": [\n" | ||||
" <structure is the same as \"transactions\" above, only " | " <structure is the same as \"transactions\" above, only " | ||||
"present if include_removed=true>\n" | "present if include_removed=true>\n" | ||||
" Note: transactions that were readded in the active chain will " | " Note: transactions that were readded in the active chain will " | ||||
"appear as-is in this array, and may thus have a positive " | "appear as-is in this array, and may thus have a positive " | ||||
"confirmation count.\n" | "confirmation count.\n" | ||||
" ],\n" | " ],\n" | ||||
" \"lastblock\": \"lastblockhash\" (string) The hash of the " | " \"lastblock\": \"lastblockhash\" (string) The hash of the " | ||||
"last block\n" | "block (target_confirmations-1) from the best block on the main " | ||||
"chain. This is typically used to feed back into listsinceblock " | |||||
"the next time you call it. So you would generally use a " | |||||
"target_confirmations of say 6, so you will be continually " | |||||
"re-notified of transactions until they've reached 6 confirmations " | |||||
"plus any new ones\n" | |||||
"}\n" | "}\n" | ||||
"\nExamples:\n" + | "\nExamples:\n" + | ||||
HelpExampleCli("listsinceblock", "") + | HelpExampleCli("listsinceblock", "") + | ||||
HelpExampleCli("listsinceblock", "\"000000000000000bacf66f7497b7dc4" | HelpExampleCli("listsinceblock", "\"000000000000000bacf66f7497b7dc4" | ||||
"5ef753ee9a7d38571037cdb1a57f663ad" | "5ef753ee9a7d38571037cdb1a57f663ad" | ||||
"\" 6") + | "\" 6") + | ||||
HelpExampleRpc("listsinceblock", "\"000000000000000bacf66f7497b7dc4" | HelpExampleRpc("listsinceblock", "\"000000000000000bacf66f7497b7dc4" | ||||
"5ef753ee9a7d38571037cdb1a57f663ad" | "5ef753ee9a7d38571037cdb1a57f663ad" | ||||
▲ Show 20 Lines • Show All 2,014 Lines • Show Last 20 Lines |