mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2025-02-17 01:52:09 +00:00
Edited ch03.asciidoc with Atlas code editor
This commit is contained in:
parent
7787580725
commit
74558893b4
@ -634,7 +634,11 @@ Now that we know which block Alice's transaction was included in, we can query t
|
|||||||
<pre data-type="programlisting">
|
<pre data-type="programlisting">
|
||||||
$ bitcoin-cli getblock 0000000000000001b6b9a13b095e96db41c4a928b97ef2d944a9b3↵
|
$ bitcoin-cli getblock 0000000000000001b6b9a13b095e96db41c4a928b97ef2d944a9b3↵
|
||||||
1b2cc7bdc4
|
1b2cc7bdc4
|
||||||
|
</pre>
|
||||||
|
++++
|
||||||
|
|
||||||
|
[source="json"]
|
||||||
|
----
|
||||||
{
|
{
|
||||||
"hash": "0000000000000001b6b9a13b095e96db41c4a928b97ef2d944a9b31b2cc7bdc4",
|
"hash": "0000000000000001b6b9a13b095e96db41c4a928b97ef2d944a9b31b2cc7bdc4",
|
||||||
"confirmations": 37371,
|
"confirmations": 37371,
|
||||||
@ -669,8 +673,6 @@ $ bitcoin-cli getblock 0000000000000001b6b9a13b095e96db41c4a928b97ef2d944a9b3&#x
|
|||||||
"nextblockhash": "000000000000000010236c269dd6ed714dd5db39d36b33959079d78dfd431ba7"
|
"nextblockhash": "000000000000000010236c269dd6ed714dd5db39d36b33959079d78dfd431ba7"
|
||||||
}
|
}
|
||||||
|
|
||||||
</pre>
|
|
||||||
++++
|
|
||||||
|
|
||||||
The block contains 419 transactions and the 64th transaction listed (+0627052b...+) is Alice's coffee payment. The +height+ entry tells us this is the 277316th block in the blockchain.
|
The block contains 419 transactions and the 64th transaction listed (+0627052b...+) is Alice's coffee payment. The +height+ entry tells us this is the 277316th block in the blockchain.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user