From 9ba2fc5e010469e10c5c186b57301b8a092d2d28 Mon Sep 17 00:00:00 2001 From: "David A. Harding" Date: Tue, 15 Nov 2016 20:22:47 -0500 Subject: [PATCH] Dev Docs: RPCs: minor typo fixes and edits for 0.12.0 update --- _includes/devdoc/bitcoin-core/rpcs/rpcs/abandontransaction.md | 4 ++-- _includes/devdoc/bitcoin-core/rpcs/rpcs/clearbanned.md | 2 +- .../devdoc/bitcoin-core/rpcs/rpcs/createrawtransaction.md | 2 +- _includes/devdoc/bitcoin-core/rpcs/rpcs/getblockchaininfo.md | 4 ++-- _includes/devdoc/bitcoin-core/rpcs/rpcs/getblockheader.md | 4 ++-- _includes/devdoc/bitcoin-core/rpcs/rpcs/getmempoolinfo.md | 4 ++-- _includes/devdoc/bitcoin-core/rpcs/rpcs/gettransaction.md | 2 +- _includes/devdoc/bitcoin-core/rpcs/rpcs/setban.md | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/_includes/devdoc/bitcoin-core/rpcs/rpcs/abandontransaction.md b/_includes/devdoc/bitcoin-core/rpcs/rpcs/abandontransaction.md index 8f986e1b..e6b538e1 100644 --- a/_includes/devdoc/bitcoin-core/rpcs/rpcs/abandontransaction.md +++ b/_includes/devdoc/bitcoin-core/rpcs/rpcs/abandontransaction.md @@ -7,7 +7,7 @@ http://opensource.org/licenses/MIT. ##### AbandonTransaction {% include helpers/subhead-links.md %} -{% assign summary_abandonTransaction="marks an in-wallet transaction and all its in-wallet descendants as abandoned. This allows their inputs to be respend." %} +{% assign summary_abandonTransaction="marks an in-wallet transaction and all its in-wallet descendants as abandoned. This allows their inputs to be respent." %} {% autocrossref %} @@ -37,7 +37,7 @@ The `abandontransaction` RPC {{summary_abandonTransaction}} *Example from Bitcoin Core 0.13.1* -Disconnects following node from your node. +Abandons the transaction on your node. {% highlight bash %} bitcoin-cli abandontransaction fa3970c341c9f5de6ab13f128cbfec58d732e736a505fe32137ad551c799ecc4 diff --git a/_includes/devdoc/bitcoin-core/rpcs/rpcs/clearbanned.md b/_includes/devdoc/bitcoin-core/rpcs/rpcs/clearbanned.md index e1988262..390d3230 100644 --- a/_includes/devdoc/bitcoin-core/rpcs/rpcs/clearbanned.md +++ b/_includes/devdoc/bitcoin-core/rpcs/rpcs/clearbanned.md @@ -29,7 +29,7 @@ The `clearbanned` RPC {{summary_clearBanned}} *Example from Bitcoin Core 0.13.1* -Disconnects following node from your node. +Clears the ban list. {% highlight bash %} bitcoin-cli clearbanned diff --git a/_includes/devdoc/bitcoin-core/rpcs/rpcs/createrawtransaction.md b/_includes/devdoc/bitcoin-core/rpcs/rpcs/createrawtransaction.md index 185824a6..a7754188 100644 --- a/_includes/devdoc/bitcoin-core/rpcs/rpcs/createrawtransaction.md +++ b/_includes/devdoc/bitcoin-core/rpcs/rpcs/createrawtransaction.md @@ -53,7 +53,7 @@ The `createrawtransaction` RPC {{summary_createRawTransaction}} {% enditemplate %} -*Parameter #3---locktime +*Parameter #3---locktime* {% itemplate ntpd1 %} - n: "Locktime" diff --git a/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblockchaininfo.md b/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblockchaininfo.md index 0fa42972..44ef728c 100644 --- a/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblockchaininfo.md +++ b/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblockchaininfo.md @@ -51,7 +51,7 @@ The `getblockchaininfo` RPC {{summary_getBlockChainInfo}} - n: "→
`mediantime`" t: "number (int)" p: "Required
(exactly 1)" - d: "*Added in Bitcoin Core 0.12.0*

The difficulty of the highest-height block in the best block chain" + d: "*Added in Bitcoin Core 0.12.0*

The median time of the 11 blocks before the most recent block on the blockchain. Used for validating transaction locktime under BIP113." - n: "→
`verificationprogress`" t: "number (real)" @@ -175,7 +175,7 @@ The `getblockchaininfo` RPC {{summary_getBlockChainInfo}} {% enditemplate %} -*Example from Bitcoin Core 0.12.1* +*Example from Bitcoin Core 0.13.1* {% highlight bash %} bitcoin-cli -testnet getblockchaininfo diff --git a/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblockheader.md b/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblockheader.md index 1b291138..8683b75f 100644 --- a/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblockheader.md +++ b/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblockheader.md @@ -91,7 +91,7 @@ The `getblockheader` RPC {{summary_getBlockHeader}} - n: "→
`mediantime`" t: "number (int)" p: "Required
(exactly 1)" - d: "The value of the *time* field in the block header, indicating approximately when the block was created" + d: "The computed median time of the previous 11 blocks. Used for validating transaction locktime under BIP113." - n: "→
`nonce`" t: "number (int)" @@ -127,7 +127,7 @@ The `getblockheader` RPC {{summary_getBlockHeader}} *Example from Bitcoin Core 0.12.1* -Get a block in raw hex: +Get a block header in raw hex: {% highlight bash %} bitcoin-cli -testnet getblockheader \ diff --git a/_includes/devdoc/bitcoin-core/rpcs/rpcs/getmempoolinfo.md b/_includes/devdoc/bitcoin-core/rpcs/rpcs/getmempoolinfo.md index a35e1c2f..ac2fa8c2 100644 --- a/_includes/devdoc/bitcoin-core/rpcs/rpcs/getmempoolinfo.md +++ b/_includes/devdoc/bitcoin-core/rpcs/rpcs/getmempoolinfo.md @@ -48,8 +48,8 @@ The `getmempoolinfo` RPC {{summary_getMemPoolInfo}} - n: "→
`mempoolminfee`" t: "number (int)" p: "Required
(exactly 1)" - d: "*Added in Bitcoin Core 0.12.0*

The total number of bytes in the transactions in the memory pool" - + d: "*Added in Bitcoin Core 0.12.0*

The lowest fee per kilobyte paid by any transaction in the memory pool" + {% enditemplate %} *Example from Bitcoin Core 0.12.0* diff --git a/_includes/devdoc/bitcoin-core/rpcs/rpcs/gettransaction.md b/_includes/devdoc/bitcoin-core/rpcs/rpcs/gettransaction.md index 47412594..476df9f4 100644 --- a/_includes/devdoc/bitcoin-core/rpcs/rpcs/gettransaction.md +++ b/_includes/devdoc/bitcoin-core/rpcs/rpcs/gettransaction.md @@ -120,7 +120,7 @@ Result: ], "time" : 1396321351, "timereceived" : 1418924711, - "bip125-replaceable" : "no", + "bip125-replaceable" : "no", "details" : [ { "account" : "", diff --git a/_includes/devdoc/bitcoin-core/rpcs/rpcs/setban.md b/_includes/devdoc/bitcoin-core/rpcs/rpcs/setban.md index fab4cd57..cd5b79e5 100644 --- a/_includes/devdoc/bitcoin-core/rpcs/rpcs/setban.md +++ b/_includes/devdoc/bitcoin-core/rpcs/rpcs/setban.md @@ -13,7 +13,7 @@ http://opensource.org/licenses/MIT. *Added in Bitcoin Core 0.12.0* -The `setban` RPC {{summary_addNode}} +The `setban` RPC {{summary_setBan}} *Parameter #1---IP/Subnet of the node* @@ -67,7 +67,7 @@ The `setban` RPC {{summary_addNode}} *Example from Bitcoin Core 0.12.1* -Try connecting to the following node. +Ban the following node. {% highlight bash %} bitcoin-cli -testnet setban 192.0.2.113:18333 add 2592000