mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-22 16:18:11 +00:00
Edited ch04_keys.adoc with Atlas code editor
This commit is contained in:
parent
d5e5f853ea
commit
45898988b9
@ -651,7 +651,7 @@ the wallet software as a valid destination, an error that would
|
|||||||
otherwise result in loss of funds.
|
otherwise result in loss of funds.
|
||||||
|
|
||||||
To convert data (a number) into a base58check format, we first add a
|
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
|
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
|
(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
|
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
|
Putting together public keys, hash-based commitments, and base58check
|
||||||
encoding, we can see the illustration of the conversion of a public key
|
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]]
|
[[pubkey_to_address]]
|
||||||
.Public key to Bitcoin address: conversion of a public key into a Bitcoin address
|
.Public key to Bitcoin address: conversion of a public key into a Bitcoin address
|
||||||
|
Loading…
Reference in New Issue
Block a user