P2P reference - Add sentinelping RPC

Update template for creating new RPCs
This commit is contained in:
thephez 2017-11-22 10:25:37 -05:00
parent 02e2d7a602
commit e825730910
7 changed files with 11 additions and 2 deletions

View file

@ -471,6 +471,8 @@ CVE-2012-2459:
'`signmessagewithprivkey` RPC': rpc signmessagewithprivkey
'`signrawtransaction`': rpc signrawtransaction
'`signrawtransaction` RPC': rpc signrawtransaction
'`sentinelping`': rpc sentinelping
'`sentinelping` RPC': rpc sentinelping
'`spork`': rpc spork
'`spork` RPC': rpc spork
'`stop`': rpc stop

View file

@ -370,6 +370,7 @@ devsearches:
- 'SignMessage': "/en/developer-reference#signmessage"
- 'SignMessageWithPrivKey': "/en/developer-reference#signmessagewithprivkey"
- 'SignRawTransaction': "/en/developer-reference#signrawtransaction"
- 'SentinelPing': "/en/developer-reference#sentinelping"
- 'Spork': "/en/developer-reference#spork-rpc"
- 'Stop': "/en/developer-reference#stop"
- 'SubmitBlock': "/en/developer-reference#submitblock"

View file

@ -6,7 +6,7 @@ http://opensource.org/licenses/MIT.
#### Quick Reference {#rpc-quick-reference}
{% include helpers/subhead-links.md %}
<!-- __ -->
{% comment %}
Styling notes: use highly-visible style for upcoming changes (not yet
released) and changes made in the last 6 months. Use less-visible
@ -140,6 +140,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
* [MasternodeList][rpc masternodelist]: {{summary_masternodeList}}
* [MnSync][rpc mnsync]: {{summary_mnSync}}
* [PrivateSend][rpc privatesend]: {{summary_privateSend}}
* [SentinelPing][rpc sentinelping]: {{summary_sentinelPing}}
* [Spork][rpc spork]: {{summary_spork-rpc}}
* [VoteRaw][rpc voteraw]: {{summary_voteRaw}}

View file

@ -117,6 +117,7 @@ This file is licensed under the terms of its source texts{%endcomment%}
{% assign summary_sendMany="creates and broadcasts a transaction which sends outputs to multiple addresses." %}
{% assign summary_sendRawTransaction="validates a transaction and broadcasts it to the peer-to-peer network." %}
{% assign summary_sendToAddress="spends an amount to a given address." %}
{% assign summary_sentinelPing="sends a Sentinel Ping to the network." %}
{% assign summary_setAccount="puts the specified address in the given account." %}
{% assign summary_setBan="attempts add or remove a IP/Subnet from the banned list." %}
{% assign summary_setGenerate="enables or disables hashing to attempt to find the next block." %}

View file

@ -199,6 +199,7 @@ http://opensource.org/licenses/MIT.
[rpc signmessage]: /en/developer-reference#signmessage
[rpc signmessagewithprivkey]: /en/developer-reference#signmessagewithprivkey
[rpc signrawtransaction]: /en/developer-reference#signrawtransaction
[rpc sentinelping]: /en/developer-reference#sentinelping
[rpc spork]: /en/developer-reference#spork-rpc
[rpc stop]: /en/developer-reference#stop
[rpc submitblock]: /en/developer-reference#submitblock

View file

@ -300,6 +300,8 @@ untrusted source.
{% include devdoc/dash-core/rpcs/rpcs/signrawtransaction.md %}
{% include devdoc/dash-core/rpcs/rpcs/sentinelping.md %}
{% include devdoc/dash-core/rpcs/rpcs/spork.md %}
{% include devdoc/dash-core/rpcs/rpcs/stop.md %}

1
scripts/create_empty_rpc_md.sh Normal file → Executable file
View file

@ -59,6 +59,7 @@ if [ "$PARAMCOUNT" == 1 ]; then
echo " "
echo "Next copy the created file ('$FILENAME') to ../_includes/devdoc/dash-core/rpcs/rpcs"
echo "Then update _autocrossref.yaml, _config.yaml, _includes/references.md, en/developer-reference.md, and rpcs/quick-reference.md"
else
echo "Incorrect number of parameters (Should be exactly 1)"
echo "Usage: create_empty_rpc_md RPCNAME"