mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Minor improvements to devdoc: AddWitnessAddress
This commit is contained in:
parent
f23e7a98b2
commit
5660c58612
1 changed files with 6 additions and 4 deletions
|
@ -7,14 +7,13 @@ http://opensource.org/licenses/MIT.
|
||||||
##### AddWitnessAddress
|
##### AddWitnessAddress
|
||||||
{% include helpers/subhead-links.md %}
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
{% assign summary_addWitnessAddress="adds a witness address for a script (with pubkey or redeemscript known)." %}
|
{% assign summary_addWitnessAddress="adds a witness address for a script (with pubkey or redeem script known)." %}
|
||||||
|
|
||||||
{% autocrossref %}
|
{% autocrossref %}
|
||||||
|
|
||||||
*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 %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue