Merge pull request #1574 from jonathancross/AddWitnessAddress

Minor improvements to devdoc: AddWitnessAddress
This commit is contained in:
Will Binns 2017-05-10 07:44:50 -06:00 committed by GitHub
commit a702d178a0

View file

@ -13,8 +13,7 @@ http://opensource.org/licenses/MIT.
*Added in Bitcoin Core 0.13.0* *Added in Bitcoin Core 0.13.0*
*Requires wallet support. Requires an unlocked wallet or an *Requires wallet support. Requires an unlocked wallet or an unencrypted wallet.*
unencrypted wallet.*
The `addwitnessaddress` RPC {{summary_addWitnessAddress}} The `addwitnessaddress` RPC {{summary_addWitnessAddress}}
@ -46,7 +45,7 @@ bitcoin-cli addwitnessaddress 1BRo7qrYHMPrzdBDzfjmzteBdYAyTMXW75
Result: Result:
The RPC is disabled by default on mainet as long as Segregated Witness has not been activated. The RPC is disabled by default on mainnet as long as Segregated Witness has not been activated.
`-walletprematurewitness` enables the RPC. `-walletprematurewitness` enables the RPC.
{% highlight text %} {% highlight text %}
@ -55,4 +54,7 @@ The RPC is disabled by default on mainet as long as Segregated Witness has not b
*See also* *See also*
* [BIP-141 - Segregated Witness](https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki)
* [BIP-142 - Address Format for Segregated Witness](https://github.com/bitcoin/bips/blob/master/bip-0142.mediawiki)
{% endautocrossref %} {% endautocrossref %}