1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-13 19:38:56 +00:00

Edited ch04_keys.adoc with Atlas code editor

This commit is contained in:
clenser 2023-10-17 00:20:07 +00:00
parent d5e5f853ea
commit 45898988b9

View File

@ -651,7 +651,7 @@ the wallet software as a valid destination, an error that would
otherwise result in loss of funds.
To convert data (a number) into a base58check format, we first add a
prefix to the data, called ((("version prefixes")))the "version byte," which serves to easily
prefix to the data, called ((("version prefixes", id="version-prefix")))the "version byte," which serves to easily
identify the type of data that is encoded. For example, the prefix zero
(0x00 in hex) indicates that the data should be used as the commitment (hash) in
a legacy P2PKH output script. A list of common version prefixes is shown
@ -737,7 +737,7 @@ version prefixes and the resulting base58 characters are shown in
Putting together public keys, hash-based commitments, and base58check
encoding, we can see the illustration of the conversion of a public key
into a Bitcoin address((("public key cryptography", "base58check encoding", startref="pub-key-base58")))((("base58check encoding", startref="base58")))((("encoding", "base58check", startref="encode-base58"))) in <<pubkey_to_address>>.
into a Bitcoin address((("public key cryptography", "base58check encoding", startref="pub-key-base58")))((("base58check encoding", startref="base58")))((("encoding", "base58check", startref="encode-base58")))((("version prefixes", startref="version-prefix"))) in <<pubkey_to_address>>.
[[pubkey_to_address]]
.Public key to Bitcoin address: conversion of a public key into a Bitcoin address