From ea7a9e707835f496260ae8d1a321df989daced45 Mon Sep 17 00:00:00 2001 From: thephez Date: Tue, 20 Aug 2019 10:41:54 -0400 Subject: [PATCH] RPC - remove instantsendtoaddress references --- _autocrossref.yaml | 2 - _config.yml | 1 - .../devdoc/dash-core/rpcs/quick-reference.md | 1 - .../rpcs/rpcs/instantsendtoaddress.md | 101 ------------------ .../dash-core/rpcs/rpcs/sendtoaddress.md | 1 - _includes/helpers/summaries.md | 1 - _includes/layout/base/rpc-table.html | 6 -- _includes/references.md | 1 - 8 files changed, 114 deletions(-) delete mode 100644 _includes/devdoc/dash-core/rpcs/rpcs/instantsendtoaddress.md diff --git a/_autocrossref.yaml b/_autocrossref.yaml index 7294e6ca..3540ca8f 100644 --- a/_autocrossref.yaml +++ b/_autocrossref.yaml @@ -463,8 +463,6 @@ DIP8: '`importpubkey` RPC': rpc importpubkey '`importwallet`': rpc importwallet '`importwallet` RPC': rpc importwallet -'`instantsendtoaddress`': rpc instantsendtoaddress -'`instantsendtoaddress` RPC': rpc instantsendtoaddress '`keepass`': rpc keepass '`keepass` RPC': rpc keepass '`keypoolrefill`': rpc keypoolrefill diff --git a/_config.yml b/_config.yml index c83aebc4..fae2577f 100644 --- a/_config.yml +++ b/_config.yml @@ -253,7 +253,6 @@ devsearches: - 'ImportPrunedFunds': "/en/developer-reference#importprunedfunds" - 'ImportPubkey': "/en/developer-reference#importpubkey" - 'ImportWallet': "/en/developer-reference#importwallet" - - 'InstantSendToAddress': "/en/developer-reference#instantsendtoaddress" - 'KeePass': "/en/developer-reference#keepass" - 'KeypoolRefill': "/en/developer-reference#keypoolrefill" - 'ListAccounts': "/en/developer-reference#listaccounts" diff --git a/_includes/devdoc/dash-core/rpcs/quick-reference.md b/_includes/devdoc/dash-core/rpcs/quick-reference.md index d6c002f8..b2cc2b74 100644 --- a/_includes/devdoc/dash-core/rpcs/quick-reference.md +++ b/_includes/devdoc/dash-core/rpcs/quick-reference.md @@ -302,7 +302,6 @@ default. * [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}} {{DASH_NEW0_12_3}} {{NEW0_13_0}} * [ImportPubKey][rpc importpubkey]: {{summary_importPubKey}} * [ImportWallet][rpc importwallet]: {{summary_importWallet}} -* [InstantSendToAddress][rpc instantsendtoaddress]: {{summary_instantSendToAddress}} * [KeePass][rpc keepass]: {{summary_keepass}} {{DARKCOIN_NEW0_11_0}} * [KeyPoolRefill][rpc keypoolrefill]: {{summary_keyPoolRefill}} * [ListAccounts][rpc listaccounts]: {{summary_listAccounts}} {{DASH_UPDATED0_13_0}} {{DEPRECATED}} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/instantsendtoaddress.md b/_includes/devdoc/dash-core/rpcs/rpcs/instantsendtoaddress.md deleted file mode 100644 index 2d371622..00000000 --- a/_includes/devdoc/dash-core/rpcs/rpcs/instantsendtoaddress.md +++ /dev/null @@ -1,101 +0,0 @@ -{% comment %} -This file is licensed under the MIT License (MIT) available on -http://opensource.org/licenses/MIT. -{% endcomment %} -{% assign filename="_includes/devdoc/dash-core/rpcs/rpcs/instantsendtoaddress.md" %} - -##### InstantSendToAddress -{% include helpers/subhead-links.md %} - -{% assign summary_instantSendToAddress="InstantSend an amount to a given address." %} - - - -{% autocrossref %} - -The `instantsendtoaddress` RPC {{summary_instantSendToAddress}} - -*Parameter #1---to address* - -{% itemplate ntpd1 %} -- n: "To Address" - t: "string" - p: "Required
(exactly 1)" - d: "A P2PKH or P2SH address to which the dash should be sent" - -{% enditemplate %} - -*Parameter #2---amount to spend* - -{% itemplate ntpd1 %} -- n: "Amount" - t: "number (dash)" - p: "Required
(exactly 1)" - d: "The amount to spent in dash" - -{% enditemplate %} - -*Parameter #3---a comment* - -{% itemplate ntpd1 %} -- n: "Comment" - t: "string" - p: "Optional
(0 or 1)" - d: "A locally-stored (not broadcast) comment assigned to this transaction. Default is no comment" - -{% enditemplate %} - -*Parameter #4---a comment about who the payment was sent to* - -{% itemplate ntpd1 %} -- n: "Comment To" - t: "string" - p: "Optional
(0 or 1)" - d: "A locally-stored (not broadcast) comment assigned to this transaction. Meant to be used for describing who the payment was sent to. Default is no comment" - -{% enditemplate %} - -*Parameter #5---automatic fee subtraction* - -{% itemplate ntpd1 %} -- n: "Subtract Fee From Amount" - t: "boolean" - p: "Optional
(0 or 1)" - d: "The fee will be deducted from the amount being sent. The recipient will receive less dash than you enter in the amount field. Default is `false`" - -{% enditemplate %} - -*Result---a TXID of the sent transaction* - -{% itemplate ntpd1 %} -- n: "`result`" - t: "string" - p: "Required
(exactly 1)" - d: "The TXID of the sent transaction, encoded as hex in RPC byte order" - -{% enditemplate %} - -*Example from Dash Core 0.12.2* - -InstantSend 0.1 dash to the address below with the comment "instantsendtoaddress -example" and the comment-to "Nemo From Example.com": - -{% highlight bash %} -dash-cli -testnet instantsendtoaddress ySutkc49Khpz1HQN8AfWNitVBLwqtyaxvv \ - 1.0 "instantsendtoaddress example" "Nemo From Example.com" -{% endhighlight %} - -Result: - -{% highlight text %} -70e2029d363f0110fe8a0aa2ba7bd771a579453135568b2aa559b2cb30f875aa -{% endhighlight %} - -*See also:* - -* [SendFrom][rpc sendfrom]: {{summary_sendFrom}} -* [SendMany][rpc sendmany]: {{summary_sendMany}} -* [SendToAddress][rpc sendtoaddress]: {{summary_sendToAddress}} -* [Move][rpc move]: {{summary_move}} - -{% endautocrossref %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/sendtoaddress.md b/_includes/devdoc/dash-core/rpcs/rpcs/sendtoaddress.md index 80e2aac7..8ec20454 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/sendtoaddress.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/sendtoaddress.md @@ -164,7 +164,6 @@ ba4bbe29fa06b67d6f3f3a73e381627e66abe22e217ce329aefad41ea72c3922 *See also* -* [InstantSendToAddress][rpc instantsendtoaddress]: {{summary_instantSendToAddress}} * [SendFrom][rpc sendfrom]: {{summary_sendFrom}} * [SendMany][rpc sendmany]: {{summary_sendMany}} * [Move][rpc move]: {{summary_move}} diff --git a/_includes/helpers/summaries.md b/_includes/helpers/summaries.md index 38acc124..f7e61489 100644 --- a/_includes/helpers/summaries.md +++ b/_includes/helpers/summaries.md @@ -88,7 +88,6 @@ This file is licensed under the terms of its source texts{%endcomment%} {% assign summary_importPrunedFunds="imports funds without the need of a rescan. Meant for use with pruned wallets." %} {% assign summary_importPubKey="imports a public key (in hex) that can be watched as if it were in your wallet but cannot be used to spend" %} {% assign summary_importWallet="imports private keys from a file in wallet dump file format (see the `dumpwallet` RPC). These keys will be added to the keys currently in the wallet. This call may need to rescan all or parts of the block chain for transactions affecting the newly-added keys, which may take several minutes." %} -{% assign summary_instantSendToAddress="InstantSend an amount to a given address." %} {% assign summary_keepass="provides commands for configuring and managing KeePass authentication" %} {% assign summary_keyPoolRefill="fills the cache of unused pre-generated keys (the keypool)." %} {% assign summary_listAccounts="lists accounts and their balances." %} diff --git a/_includes/layout/base/rpc-table.html b/_includes/layout/base/rpc-table.html index 43326409..fea1c8b3 100644 --- a/_includes/layout/base/rpc-table.html +++ b/_includes/layout/base/rpc-table.html @@ -721,12 +721,6 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header:: Y - - Wallet - InstantSendToAddress - Y - - Wallet KeePass diff --git a/_includes/references.md b/_includes/references.md index 9d685bfc..a8a4ea4f 100644 --- a/_includes/references.md +++ b/_includes/references.md @@ -156,7 +156,6 @@ http://opensource.org/licenses/MIT. [rpc importprunedfunds]: /en/developer-reference#importprunedfunds [rpc importpubkey]: /en/developer-reference#importpubkey [rpc importwallet]: /en/developer-reference#importwallet -[rpc instantsendtoaddress]: /en/developer-reference#instantsendtoaddress [rpc keepass]: /en/developer-reference#keepass [rpc keypoolrefill]: /en/developer-reference#keypoolrefill [rpc listaccounts]: /en/developer-reference#listaccounts