From d93da23e4671186a42a84ff97ca0cd6b978cb433 Mon Sep 17 00:00:00 2001 From: thephez Date: Thu, 5 Oct 2017 13:51:42 -0400 Subject: [PATCH] Comment out content of non-implemented Block chain RPCs (GetMemPoolAncestors, GetMemPoolDescendants, GetMemPoolEntry, PreciousBlock, PruneBlockChain) --- _includes/devdoc/dash-core/rpcs/quick-reference.md | 2 +- .../devdoc/dash-core/rpcs/rpcs/getmempoolancestors.md | 7 ++++++- .../dash-core/rpcs/rpcs/getmempooldescendants.md | 8 +++++++- .../devdoc/dash-core/rpcs/rpcs/getmempoolentry.md | 10 ++++++++-- _includes/devdoc/dash-core/rpcs/rpcs/preciousblock.md | 6 ++++++ .../devdoc/dash-core/rpcs/rpcs/pruneblockchain.md | 6 ++++++ 6 files changed, 34 insertions(+), 5 deletions(-) diff --git a/_includes/devdoc/dash-core/rpcs/quick-reference.md b/_includes/devdoc/dash-core/rpcs/quick-reference.md index 77fed590..08a8a559 100644 --- a/_includes/devdoc/dash-core/rpcs/quick-reference.md +++ b/_includes/devdoc/dash-core/rpcs/quick-reference.md @@ -100,7 +100,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core {% endautocrossref %} -##### Not implemented in Dash +**Not implemented in Dash** {% autocrossref %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/getmempoolancestors.md b/_includes/devdoc/dash-core/rpcs/rpcs/getmempoolancestors.md index b576e263..2a4fd641 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/getmempoolancestors.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/getmempoolancestors.md @@ -13,6 +13,9 @@ http://opensource.org/licenses/MIT. *Added in Bitcoin Core 0.13.0* +**_Not implemented in Dash Core (as of 0.12.2)_** + +{% comment %} The `getmempoolancestors` RPC {{summary_getMemPoolAncestors}} *Parameter #1---a transaction identifier (TXID)* @@ -72,7 +75,7 @@ The `getmempoolancestors` RPC {{summary_getMemPoolAncestors}} t: "number (bitcoins)" p: "Required
(exactly 1)" d: "The transaction fee paid by the transaction in decimal bitcoins" - + - n: "→ →
`modifiedfee`" t: "number (bitcoins)" p: "Required
(exactly 1)" @@ -211,4 +214,6 @@ Result: * [GetMemPoolDescendants][rpc getmempooldescendants]: {{summary_getMemPoolDescendants}} * [GetRawMemPool][rpc getrawmempool]: {{summary_getRawMemPool}} +{% endcomment %} + {% endautocrossref %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/getmempooldescendants.md b/_includes/devdoc/dash-core/rpcs/rpcs/getmempooldescendants.md index 71919600..d430b6e0 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/getmempooldescendants.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/getmempooldescendants.md @@ -13,6 +13,10 @@ http://opensource.org/licenses/MIT. *Added in Bitcoin Core 0.13.0* +**_Not implemented in Dash Core (as of 0.12.2)_** + +{% comment %} + The `getmempooldescendants` RPC {{summary_getMemPoolDescendants}} *Parameter #1---a transaction identifier (TXID)* @@ -72,7 +76,7 @@ The `getmempooldescendants` RPC {{summary_getMemPoolDescendants}} t: "number (bitcoins)" p: "Required
(exactly 1)" d: "The transaction fee paid by the transaction in decimal bitcoins" - + - n: "→ →
`modifiedfee`" t: "number (bitcoins)" p: "Required
(exactly 1)" @@ -211,4 +215,6 @@ Result: * [GetMemPoolAncestors][rpc getmempoolancestors]: {{summary_getMemPoolAncestors}} * [GetRawMemPool][rpc getrawmempool]: {{summary_getRawMemPool}} +{% endcomment %} + {% endautocrossref %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/getmempoolentry.md b/_includes/devdoc/dash-core/rpcs/rpcs/getmempoolentry.md index 0af4e355..b62b7679 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/getmempoolentry.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/getmempoolentry.md @@ -13,6 +13,10 @@ http://opensource.org/licenses/MIT. *Added in Bitcoin Core 0.13.0* +**_Not implemented in Dash Core (as of 0.12.2)_** + +{% comment %} + The `getmempoolentry` RPC {{summary_getMemPoolEntry}} *Parameter #1---a transaction identifier (TXID)* @@ -42,7 +46,7 @@ The `getmempoolentry` RPC {{summary_getMemPoolEntry}} t: "number (bitcoins)" p: "Required
(exactly 1)" d: "The transaction fee paid by the transaction in decimal bitcoins" - + - n: "→
`modifiedfee`" t: "number (bitcoins)" p: "Required
(exactly 1)" @@ -145,4 +149,6 @@ Result: * [GetMemPoolDescendants][rpc getmempooldescendants]: {{summary_getMemPoolDescendants}} * [GetRawMemPool][rpc getrawmempool]: {{summary_getRawMemPool}} -{% endautocrossref %} \ No newline at end of file +{% endcomment %} + +{% endautocrossref %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/preciousblock.md b/_includes/devdoc/dash-core/rpcs/rpcs/preciousblock.md index 1356b71e..3c0d25f3 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/preciousblock.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/preciousblock.md @@ -13,6 +13,10 @@ http://opensource.org/licenses/MIT. *Added in Bitcoin Core 0.14.0* +**_Not implemented in Dash Core (as of 0.12.2)_** + +{% comment %} + The `preciousblock` RPC {{summary_preciousBlock}} A later `preciousblock` call can override the effect of an earlier one. The effects of `preciousblock` are not retained across restarts. *Parameter #1---the block hash* @@ -44,4 +48,6 @@ bitcoin-cli preciousblock 000000000000000001517a0bac70b8cd6f27ee\ Result (no output from `bitcoin-cli` because result is set to `null`). +{% endcomment %} + {% endautocrossref %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/pruneblockchain.md b/_includes/devdoc/dash-core/rpcs/rpcs/pruneblockchain.md index 08576ea0..6fec51d4 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/pruneblockchain.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/pruneblockchain.md @@ -13,6 +13,10 @@ http://opensource.org/licenses/MIT. *Added in Bitcoin Core 0.14.0* +**_Not implemented in Dash Core (as of 0.12.2)_** + +{% comment %} + The `pruneblockchain` RPC {{summary_pruneBlockChain}} The `-prune` option needs to be enabled (disabled by default). *Parameter #1---the block height or timestamp* @@ -51,4 +55,6 @@ Result: * [ImportPrunedFunds][rpc importprunedfunds]: {{summary_importPrunedFunds}} +{% endcomment %} + {% endautocrossref %}