mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
RPC - IS changes
- Remove instantsend field from result of getmempoolentry and getrawmempool - Deprecated IS send params for multiple RPCs
This commit is contained in:
parent
ea7a9e7078
commit
4d718ae671
6 changed files with 40 additions and 59 deletions
|
@ -110,11 +110,6 @@ The `getmempoolentry` RPC {{summary_getMemPoolEntry}}
|
||||||
p: "Optional (0 or more)"
|
p: "Optional (0 or more)"
|
||||||
d: "The TXIDs of any unconfirmed transactions this transaction depends upon, encoded as hex in RPC byte order"
|
d: "The TXIDs of any unconfirmed transactions this transaction depends upon, encoded as hex in RPC byte order"
|
||||||
|
|
||||||
- n: "→<br>`instantsend`"
|
|
||||||
t: "bool"
|
|
||||||
p: "Required<br>(exactly 1)"
|
|
||||||
d: "True if this transaction was sent as an InstantSend one"
|
|
||||||
|
|
||||||
- n: "→<br>`instantlock`"
|
- n: "→<br>`instantlock`"
|
||||||
t: "bool"
|
t: "bool"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
|
@ -133,23 +128,20 @@ Result:
|
||||||
|
|
||||||
{% highlight json %}
|
{% highlight json %}
|
||||||
{
|
{
|
||||||
"size": 226,
|
"size": 372,
|
||||||
"fee": 0.00000226,
|
"fee": 0.00000375,
|
||||||
"modifiedfee": 0.00000226,
|
"modifiedfee": 0.00000375,
|
||||||
"time": 1519159538,
|
"time": 1566315602,
|
||||||
"height": 79036,
|
"height": 159320,
|
||||||
"startingpriority": 0,
|
"descendantcount": 1,
|
||||||
"currentpriority": 0,
|
"descendantsize": 372,
|
||||||
"descendantcount": 2,
|
"descendantfees": 375,
|
||||||
"descendantsize": 452,
|
|
||||||
"descendantfees": 452,
|
|
||||||
"ancestorcount": 1,
|
"ancestorcount": 1,
|
||||||
"ancestorsize": 226,
|
"ancestorsize": 372,
|
||||||
"ancestorfees": 226,
|
"ancestorfees": 375,
|
||||||
"depends": [
|
"depends": [
|
||||||
],
|
],
|
||||||
"instantsend": false,
|
"instantlock": true
|
||||||
"instantlock": false
|
|
||||||
}
|
}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
|
@ -128,11 +128,6 @@ The `getrawmempool` RPC {{summary_getRawMemPool}}
|
||||||
p: "Optional (0 or more)"
|
p: "Optional (0 or more)"
|
||||||
d: "The TXIDs of any unconfirmed transactions this transaction depends upon, encoded as hex in RPC byte order"
|
d: "The TXIDs of any unconfirmed transactions this transaction depends upon, encoded as hex in RPC byte order"
|
||||||
|
|
||||||
- n: "→ →<br>`instantsend`"
|
|
||||||
t: "bool"
|
|
||||||
p: "Required<br>(exactly 1)"
|
|
||||||
d: "*Added in Dash Core 0.12.3*<br><br>Set to `true` for transactions broadcast via the `ix` message (InstantSend lock requested). Set to `false` for standard (non-InstantSend) transactions"
|
|
||||||
|
|
||||||
- n: "→ →<br>`instantlock`"
|
- n: "→ →<br>`instantlock`"
|
||||||
t: "bool"
|
t: "bool"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
|
@ -166,44 +161,38 @@ Result:
|
||||||
|
|
||||||
{% highlight json %}
|
{% highlight json %}
|
||||||
{
|
{
|
||||||
"8fd1440ed74d3739aa4e1700e9b2fdb32bc5c138fe79dd319f965f67339eb1ce": {
|
"3bf4985183ddebcb6b1d58fa04dae9728a8f2bf20be298d81e38a8bd2f50ea47": {
|
||||||
"size": 372,
|
"size": 225,
|
||||||
"fee": 0.00020000,
|
|
||||||
"modifiedfee": 0.00020000,
|
|
||||||
"time": 1519928121,
|
|
||||||
"height": 83907,
|
|
||||||
"startingpriority": 2224190635.564103,
|
|
||||||
"currentpriority": 2224190635.564103,
|
|
||||||
"descendantcount": 2,
|
|
||||||
"descendantsize": 598,
|
|
||||||
"descendantfees": 20226,
|
|
||||||
"ancestorcount": 1,
|
|
||||||
"ancestorsize": 372,
|
|
||||||
"ancestorfees": 20000,
|
|
||||||
"depends": [
|
|
||||||
],
|
|
||||||
"instantsend": true,
|
|
||||||
"instantlock": true
|
|
||||||
},
|
|
||||||
"2d914d77305dd968bbd67aeb8604cf7e9d66a7df58bf5216724db69a54000f40": {
|
|
||||||
"size": 226,
|
|
||||||
"fee": 0.00000226,
|
"fee": 0.00000226,
|
||||||
"modifiedfee": 0.00000226,
|
"modifiedfee": 0.00000226,
|
||||||
"time": 1519928256,
|
"time": 1566315512,
|
||||||
"height": 83907,
|
"height": 159318,
|
||||||
"startingpriority": 0,
|
|
||||||
"currentpriority": 0,
|
|
||||||
"descendantcount": 1,
|
"descendantcount": 1,
|
||||||
"descendantsize": 226,
|
"descendantsize": 225,
|
||||||
"descendantfees": 226,
|
"descendantfees": 226,
|
||||||
"ancestorcount": 2,
|
"ancestorcount": 2,
|
||||||
"ancestorsize": 598,
|
"ancestorsize": 5760,
|
||||||
"ancestorfees": 20226,
|
"ancestorfees": 5780,
|
||||||
"depends": [
|
"depends": [
|
||||||
"8fd1440ed74d3739aa4e1700e9b2fdb32bc5c138fe79dd319f965f67339eb1ce"
|
"1b8fdb3ce371c1274ee60df807d631320e7efaf30e7867584eb44b8ec4c19d12"
|
||||||
],
|
],
|
||||||
"instantsend": false,
|
"instantlock": true
|
||||||
"instantlock": false
|
},
|
||||||
|
"1b8fdb3ce371c1274ee60df807d631320e7efaf30e7867584eb44b8ec4c19d12": {
|
||||||
|
"size": 5535,
|
||||||
|
"fee": 0.00005554,
|
||||||
|
"modifiedfee": 0.00005554,
|
||||||
|
"time": 1566315441,
|
||||||
|
"height": 159318,
|
||||||
|
"descendantcount": 2,
|
||||||
|
"descendantsize": 5760,
|
||||||
|
"descendantfees": 5780,
|
||||||
|
"ancestorcount": 1,
|
||||||
|
"ancestorsize": 5535,
|
||||||
|
"ancestorfees": 5554,
|
||||||
|
"depends": [
|
||||||
|
],
|
||||||
|
"instantlock": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
|
@ -121,7 +121,7 @@ The `gobject prepare` RPC prepares a governance object by signing and creating a
|
||||||
- n: "`use-IS`"
|
- n: "`use-IS`"
|
||||||
t: "boolean"
|
t: "boolean"
|
||||||
p: "Optional<br>(0 or 1)"
|
p: "Optional<br>(0 or 1)"
|
||||||
d: "*Added in Dash Core 0.13.0*<br><br>InstantSend lock the collateral, only requiring one chain confirmation"
|
d: "*Deprecated and ignored since Dash Core 0.14.1*"
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ The `sendmany` RPC {{summary_sendMany}}
|
||||||
- n: "Use InstantSend"
|
- n: "Use InstantSend"
|
||||||
t: "bool"
|
t: "bool"
|
||||||
p: "Optional<br>(0 or 1)"
|
p: "Optional<br>(0 or 1)"
|
||||||
d: "If set to `true`, send this transaction as InstantSend (default: false)."
|
d: "*Deprecated and ignored since Dash Core 0.14.1*"
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ The `sendrawtransaction` RPC {{summary_sendRawTransaction}}
|
||||||
- n: "Use InstantSend"
|
- n: "Use InstantSend"
|
||||||
t: "bool"
|
t: "bool"
|
||||||
p: "Optional<br>(0 or 1)"
|
p: "Optional<br>(0 or 1)"
|
||||||
d: "Set to `true` to send as an InstantSend transaction. Set to `false` (the default) to send as a normal transaction"
|
d: "*Depcrecated and ignored since Dash Core 0.14.1*"
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ The `sendtoaddress` RPC {{summary_sendToAddress}}
|
||||||
- n: "Use InstantSend"
|
- n: "Use InstantSend"
|
||||||
t: "bool"
|
t: "bool"
|
||||||
p: "Optional<br>(0 or 1)"
|
p: "Optional<br>(0 or 1)"
|
||||||
d: "If set to `true`, send this transaction as InstantSend (default: false)."
|
d: "*Deprecated and ignored since Dash Core 0.14.1*"
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue