diff --git a/ch07.asciidoc b/ch07.asciidoc index 74b3d70f..e3b9b81a 100644 --- a/ch07.asciidoc +++ b/ch07.asciidoc @@ -971,6 +971,24 @@ The data part:: A minimum of 6 alphanumeric characters, the checksum encoded wit At this time, only a few wallets accept or produce native segwit bech32 addresses, but as segwit adoption increases, you will see these more and more often. +<> shows bitcoin non-segwit (legacy) and segwit addresses. + +[[segwit_addresses]] +.Bitcoin non-segwit (legacy) and segwit addresses +|======= +|Type |Encoding |Prefix +| Legacy P2PKH Address | Base58 | 1 +| Legacy Testnet P2PKH Address | Base58 | m or n +| Legacy P2SH Address | Base58 | 3 +| Legacy Testnet P2SH Address | Base58 | 2 +| Nested (embedded) Segwit P2SH(P2WPKH) Address | Base58 | 3 +| Nested (embedded) Segwit P2SH(P2WSH) Address | Base58 | 3 +| Native Segwit P2WPKH Address | Bech32 | bc1 +| Native Segwit Testnet P2WPKH Address | Bech32 | tb1 +| Native Segwit P2WSH Address | Bech32 | bc1 +| Native Segwit Testnet P2WSH Address | Bech32 | tb1 +|======= + [[segwit_txid]] ===== Transaction identifiers