mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-12-23 07:08:13 +00:00
Made changes to ch04.asciidoc
This commit is contained in:
parent
83fb3669c9
commit
a1cd1a818e
@ -473,7 +473,7 @@ include::code/key-to-address-ecc-example.py[]
|
||||
----
|
||||
====
|
||||
|
||||
Here's the output from running this code:
|
||||
<<key-to-address_script_run>> shows the output from running this code.
|
||||
|
||||
[[key-to-address_script_run]]
|
||||
.Running key-to-address-ecc-example.py
|
||||
@ -507,10 +507,10 @@ Compressed Bitcoin Address (b58check) is:
|
||||
====
|
||||
|
||||
|
||||
Here's another example, using the Python ECDSA library for the Elliptic Curve math and without using any specialized bitcoin libraries:
|
||||
<<ec_math>> is another example, using the Python ECDSA library for the elliptic curve math and without using any specialized bitcoin libraries.
|
||||
|
||||
[[ec_math]]
|
||||
.A script demonstrating Elliptic Curve math used for bitcoin keys
|
||||
.A script demonstrating elliptic curve math used for bitcoin keys
|
||||
====
|
||||
[source, python]
|
||||
----
|
||||
@ -518,7 +518,7 @@ include::code/ec-math.py[]
|
||||
----
|
||||
====
|
||||
|
||||
Running the script:
|
||||
<<ec_math_run>> shows the output produced by running this script.
|
||||
|
||||
[[ec_math_run]]
|
||||
.Installing the Python ECDSA library and running the ec_math.py script
|
||||
@ -545,7 +545,7 @@ Another method for making keys is _deterministic key generation_. Here you deriv
|
||||
|
||||
[TIP]
|
||||
====
|
||||
Wallets contain keys, not coins. The coins are stored on the blockchain in the form of transaction-outputs (often noted as _vout_ or _txout_). Each user has a wallet containing keys. Wallets are really keychains containing pairs of private/public keys (See XREF-public_key]). Users sign transactions with the keys, thereby proving they own the transaction outputs (their coins).
|
||||
Wallets contain keys, not coins. The coins are stored on the blockchain in the form of transaction-outputs (often noted as _vout_ or _txout_). Each user has a wallet containing keys. Wallets are really keychains containing pairs of private/public keys (see XREF-public_key]). Users sign transactions with the keys, thereby proving they own the transaction outputs (their coins).
|
||||
====
|
||||
|
||||
[[random_wallet]]
|
||||
|
Loading…
Reference in New Issue
Block a user