|
|
|
@ -81,12 +81,6 @@ Alice is offered the option to pay with bitcoin, in addition to the
|
|
|
|
|
usual options. The checkout cart displays the price in US dollars and
|
|
|
|
|
also in bitcoin (BTC), at Bitcoin's prevailing exchange rate.
|
|
|
|
|
|
|
|
|
|
----
|
|
|
|
|
Total:
|
|
|
|
|
$750 USD
|
|
|
|
|
0.01577764 BTC
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
((("payment requests")))((("QR codes", "payment requests")))Bob's
|
|
|
|
|
e-commerce system will automatically create a QR code containing an
|
|
|
|
|
_invoice_ (see <<invoice-QR>>).
|
|
|
|
@ -130,7 +124,7 @@ A description for the payment: "Purchase at Bob's Store"
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
Alice uses her smartphone to scan the barcode on display. Her smartphone
|
|
|
|
|
shows a payment of +0.01 BTC+ to +Bob's Store+ and she selects Send to
|
|
|
|
|
shows a payment for the correct amount to +Bob's Store+ and she selects Send to
|
|
|
|
|
authorize the payment. Within a few seconds (about the same amount of
|
|
|
|
|
time as a credit card authorization), Bob sees the transaction on the
|
|
|
|
|
register, completing the transaction.
|
|
|
|
@ -432,8 +426,8 @@ View the https://www.blockchain.com/btc/tx/0627052b6f28912f2703066a912ea577f2ce4
|
|
|
|
|
|
|
|
|
|
==== Adding the Transaction to the Ledger
|
|
|
|
|
|
|
|
|
|
The transaction created by Alice's wallet application is 258 bytes long
|
|
|
|
|
and contains everything necessary to confirm ownership of the funds and
|
|
|
|
|
The transaction created by Alice's wallet application
|
|
|
|
|
contains everything necessary to confirm ownership of the funds and
|
|
|
|
|
assign new owners. Now, the transaction must be transmitted to the
|
|
|
|
|
Bitcoin network where it will become part of the blockchain. In the next
|
|
|
|
|
section we will see how a transaction becomes part of a new block and
|
|
|
|
|