V0.14.0 rpc chainlock param (#115)

* RPC - Add chainlock param to getrawtransaction and gettransaction

* RPC - Add chainlock param to listtransactions  - Also removes unused bip125-replaceable

* RPC - Add chainlock param to getblock

* RPC - Update getblock - add cbTx

* RPC - Update listsinceblock
 - Example updated with chainlock param
 - Removed bip125-replaceable param
This commit is contained in:
thephez 2019-04-08 12:03:33 -04:00
parent 865990cd4b
commit b0c8a4695a
8 changed files with 227 additions and 186 deletions

View file

@ -48,6 +48,16 @@ http://opensource.org/licenses/MIT.
p: "Required<br>(exactly 1)"
d: "The number of confirmations the transaction has received. Will be `0` for unconfirmed and `-1` for conflicted"
- n: "→<br>`instantlock`"
t: "bool"
p: "Required<br>(exactly 1)"
d: "Current transaction lock state"
- n: "<br>`chainlock`"
t: "bool"
p: "Required<br>(exactly 1)"
d: "*Added in Dash Core 0.14.0*<br><br>If set to `true`, this transaction is in a block that is locked (not susceptible to a chain re-org)"
- n: "{{DEPTH}}<br>`generated`"
t: "bool"
p: "Optional<br>(0 or 1)"
@ -93,11 +103,6 @@ http://opensource.org/licenses/MIT.
p: "Required<br>(exactly 1)"
d: "A Unix epoch time when the transaction was detected by the local node, or the time of the block on the local best block chain that included the transaction"
- n: "{{DEPTH}}<br>`bip125-replaceable`"
t: "string"
p: "Required<br>(exactly 1)"
d: "*Added in Bitcoin Core 0.12.0*<br><br>Indicates if a transaction is replaceable under BIP 125:<br>`yes` is replaceable<br>`no` not replaceable<br>`unknown` for unconfirmed transactions not in the mempool"
- n: "{{DEPTH}}<br>`comment`"
t: "string"
p: "Optional<br>(0 or 1)"