Formatting and example updates

This commit is contained in:
thephez 2017-10-11 11:36:11 -04:00
parent 252512bbf8
commit d9fba246ca
6 changed files with 26 additions and 21 deletions

View file

@ -88,7 +88,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
* [GetBlockHeader][rpc getblockheader]: {{summary_getBlockHeader}} {{NEW0_12_0}}
* [GetBlockHeaders][rpc getblockheaders]: {{summary_getBlockHeaders}} {{DASH_NEW0_12_1}}
* [GetChainTips][rpc getchaintips]: {{summary_getChainTips}} {{DASH_UPDATED0_12_1}}
* [GetDifficulty][rpc getdifficulty]: {{summary_getDifficultly}}
* [GetDifficulty][rpc getdifficulty]: {{summary_getDifficulty}}
* [GetMemPoolInfo][rpc getmempoolinfo]: {{summary_getMemPoolInfo}} {{UPDATED0_12_0}}
* [GetRawMemPool][rpc getrawmempool]: {{summary_getRawMemPool}} {{UPDATED0_13_0}}
* [GetSpentInfo][rpc getspentinfo]: {{summary_getSpentInfo}} {{DASH_NEW0_12_1}}

View file

@ -7,7 +7,7 @@ http://opensource.org/licenses/MIT.
##### GetDifficulty
{% include helpers/subhead-links.md %}
{% assign summary_getDifficultly="returns the proof-of-work difficulty as a multiple of the minimum difficulty." %}
{% assign summary_getDifficulty="returns the proof-of-work difficulty as a multiple of the minimum difficulty." %}
{% autocrossref %}

View file

@ -60,7 +60,7 @@ Result:
*See also*
* [GetDifficulty][rpc getdifficulty]: {{summary_getDifficultly}}
* [GetDifficulty][rpc getdifficulty]: {{summary_getDifficulty}}
* [GetBlock][rpc getblock]: {{summary_getBlock}}
{% endautocrossref %}

View file

@ -137,7 +137,7 @@ The `getrawmempool` RPC {{summary_getRawMemPool}}
The default (`false`):
{% highlight bash %}
bitcoin-cli getrawmempool
dash-cli getrawmempool
{% endhighlight %}
Result:
@ -158,18 +158,19 @@ Result:
{% highlight json %}
{
"9dc994e03e387ff2d2709fbe86edede9f3d7aaddea7f75694495e415561b22fe": {
"size": 3471,
"fee": 0.00080520,
"modifiedfee": 0.00080520,
"time": 1507217951,
"height": 4660,
"startingpriority": 553299903846.1538,
"currentpriority": 553299903846.1538,
"descendantcount": 1,
"descendantsize": 3471,
"descendantfees": 80520,
"286b3ec21e6ce5463fc712c98d86e02353525e09452113836651f3f91e562354": {
"size": 225,
"fee": 0.00000225,
"modifiedfee": 0.00000225,
"time": 1507735322,
"height": 7940,
"startingpriority": 0,
"currentpriority": 0,
"descendantcount": 4,
"descendantsize": 901,
"descendantfees": 902,
"depends": [
"2aacf53e0e15d3b4d778837792c7b6bd298edd3c41a0608586bdec41adcfe7c4"
]
}
}

View file

@ -2,7 +2,7 @@
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/getspentinfo.md" %}#
{% assign filename="_includes/devdoc/dash-core/rpcs/rpcs/getspentinfo.md" %}
##### GetSpentInfo
{% include helpers/subhead-links.md %}
@ -62,16 +62,21 @@ Get the txid and index where an output is spent:
dash-cli getspentinfo \
'''
{
"txid": "e0a06b47f0de6f3851a228d5ac377ac38b495adf04298c43e951e679c5b0aa8f", \
"txid": "0456aaf51a8df21dd47c2a06ede046a5bf7403bcb95d14d1d71b178c189fb933", \
"index": 0
}
{% endhighlight %}
Result:
**Example needed**
{% highlight json %}
{
"txid": "14e874421350840e9d43965967c5a989e7d41ad361ef37484ee67d01d433ecfa",
"index": 1,
"height": 7742
}
{% endhighlight %}
*See also: none*
{% endautocrossref %}