1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-22 08:08:11 +00:00

Edited ch04_keys.adoc with Atlas code editor

This commit is contained in:
clenser 2023-10-19 19:59:30 +00:00
parent 5d6d3e41c7
commit 280f84c8a5

View File

@ -872,7 +872,7 @@ for which she needs to pay transaction fees every time she wants to spend money
small commitments to large amounts of data also applies here.
The BIP16 upgrade to the Bitcoin protocol in 2012 allows an
output script to ((("redemption scripts", id="redeem-script")))commit to a _redemption script_ (_redeem script_). When
output script to ((("redeem scripts", id="redeem-script")))commit to a _redemption script_ (_redeem script_). When
Bob spends his bitcoins, his input script needs to provide a redeem script
that matches the commitment and also any data necessary to satisfy the
redeem script (such as signatures). Let's start by imagining Bob wants
@ -939,7 +939,7 @@ transactions.
P2PKH and P2SH are the only two script templates used with base58check
encoding. They are now known as legacy addresses and have become less
common over time.
Legacy addresses were supplanted by the bech32 family of ((("redemption scripts", startref="redeem-script")))addresses.
Legacy addresses were supplanted by the bech32 family of ((("redeem scripts", startref="redeem-script")))addresses.
[[p2sh_collision_attacks]]
.P2SH Collision Attacks