RPC - Add getmempoolinfo instantsendlocks param

This commit is contained in:
thephez 2019-08-19 16:19:33 -04:00
parent 993568eae1
commit c2f1eb9d9c
2 changed files with 11 additions and 5 deletions

View file

@ -129,7 +129,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
* [GetMemPoolAncestors][rpc getmempoolancestors]: {{summary_getMemPoolAncestors}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
* [GetMemPoolDescendants][rpc getmempooldescendants]: {{summary_getMemPoolDescendants}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
* [GetMemPoolEntry][rpc getmempoolentry]: {{summary_getMemPoolEntry}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
* [GetMemPoolInfo][rpc getmempoolinfo]: {{summary_getMemPoolInfo}} {{UPDATED0_12_0}}
* [GetMemPoolInfo][rpc getmempoolinfo]: {{summary_getMemPoolInfo}} {{DASH_UPDATED0_14_1}}
* [GetRawMemPool][rpc getrawmempool]: {{summary_getRawMemPool}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
* [GetMerkleBlocks][rpc getmerkleblocks]: {{summary_getMerkleBlocks}} {{DASH_NEW0_14_1}}
* [GetSpecialTxes][rpc getspecialtxes]: {{summary_getSpecialTxes}} {{DASH_NEW0_13_1}}

View file

@ -48,9 +48,14 @@ The `getmempoolinfo` RPC {{summary_getMemPoolInfo}}
p: "Required<br>(exactly 1)"
d: "*Added in Bitcoin Core 0.12.0*<br><br>The lowest fee per kilobyte paid by any transaction in the memory pool"
- n: "→<br>`instantsendlocks`"
t: "number (int)"
p: "Required<br>(exactly 1)"
d: "*Added in Dash Core 0.14.1*<br><br>Number of unconfirmed InstantSend locks"
{% enditemplate %}
*Example from Dash Core 0.12.2*
*Example from Dash Core 0.14.1*
{% highlight bash %}
dash-cli -testnet getmempoolinfo
@ -61,10 +66,11 @@ Result:
{% highlight json %}
{
"size": 1,
"bytes": 3471,
"usage": 8544,
"bytes": 666,
"usage": 1936,
"maxmempool": 300000000,
"mempoolminfee": 0.00000000
"mempoolminfee": 0.00000000,
"instantsendlocks": 1
}
{% endhighlight %}