mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
parent
d8bc6626f4
commit
47b255e888
2 changed files with 6 additions and 8 deletions
|
@ -452,14 +452,11 @@ receive an error.
|
||||||
If you create a redeem script, hash it, and use the hash
|
If you create a redeem script, hash it, and use the hash
|
||||||
in a P2SH output, the network sees only the hash, so it will accept the
|
in a P2SH output, the network sees only the hash, so it will accept the
|
||||||
output as valid no matter what the redeem script says.
|
output as valid no matter what the redeem script says.
|
||||||
This allows
|
This allows payment to non-standard scripts, and as of Bitcoin Core
|
||||||
payment to non-standard pubkey script almost as easily as payment to
|
0.11, almost all valid redeem scripts can be spent. The exception is
|
||||||
standard pubkey scripts. However, when you go to
|
scripts that use unassigned [NOP op codes][]; these op codes are
|
||||||
spend that output, peers and miners using the default settings will
|
reserved for future soft forks and can only be relayed or mined by nodes
|
||||||
check the redeem script to see whether or not it's a standard pubkey script.
|
that don't follow the standard mempool policy.
|
||||||
If it isn't, they won't process it further---so it will be
|
|
||||||
impossible to spend that output until you find a miner who disables the
|
|
||||||
default settings.
|
|
||||||
|
|
||||||
Note: standard transactions are designed to protect and help the
|
Note: standard transactions are designed to protect and help the
|
||||||
network, not prevent you from making mistakes. It's easy to create
|
network, not prevent you from making mistakes. It's easy to create
|
||||||
|
|
|
@ -309,6 +309,7 @@ http://opensource.org/licenses/MIT.
|
||||||
[MIME]: https://en.wikipedia.org/wiki/Internet_media_type
|
[MIME]: https://en.wikipedia.org/wiki/Internet_media_type
|
||||||
[mozrootstore]: https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/
|
[mozrootstore]: https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/
|
||||||
[netcat]: https://en.wikipedia.org/wiki/Netcat
|
[netcat]: https://en.wikipedia.org/wiki/Netcat
|
||||||
|
[nop op codes]: https://en.bitcoin.it/wiki/Script#Reserved_words
|
||||||
[Payment Request Generator]: http://bitcoincore.org/~gavin/createpaymentrequest.php
|
[Payment Request Generator]: http://bitcoincore.org/~gavin/createpaymentrequest.php
|
||||||
[Piotr Piasecki's testnet faucet]: https://tpfaucet.appspot.com/
|
[Piotr Piasecki's testnet faucet]: https://tpfaucet.appspot.com/
|
||||||
[prime symbol]: https://en.wikipedia.org/wiki/Prime_%28symbol%29
|
[prime symbol]: https://en.wikipedia.org/wiki/Prime_%28symbol%29
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue