mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Minor examples updates
This commit is contained in:
parent
e2149c179f
commit
c641d42118
2 changed files with 5 additions and 5 deletions
|
@ -328,7 +328,7 @@ script, but we will sleep a short bit and send back our own `verack`
|
|||
message as if we had accepted their `version` message.
|
||||
|
||||
{% highlight python %}
|
||||
send("filterload",
|
||||
send("filterload",
|
||||
"02" # ........ Filter bytes: 2
|
||||
+ "b50f" # ....... Filter: 1010 1101 1111 0000
|
||||
+ "0b000000" # ... nHashFuncs: 11
|
||||
|
@ -437,7 +437,7 @@ a non-TXID node with a 0 flag (or we finish filling out the tree).
|
|||
Finally, on the fifth flag in the example (a 1), we reach a TXID node.
|
||||
The 1 flag indicates this TXID's transaction matches our filter and
|
||||
that we should take the next (second) hash and use it as this node's
|
||||
TXID.
|
||||
TXID.
|
||||
|
||||

|
||||
|
||||
|
@ -462,7 +462,7 @@ more child nodes to process.
|
|||
We hash as appropriate to fill out the tree. Note that the eighth flag is
|
||||
not used---this is acceptable as it was required to pad out a flag byte.
|
||||
|
||||
The final steps would be to ensure the computed computed merkle root
|
||||
The final steps would be to ensure the computed merkle root
|
||||
is identical to the merkle root in the header and check the other steps
|
||||
of the parsing checklist in the `merkleblock` message section.
|
||||
|
||||
|
|
|
@ -44,12 +44,12 @@ end_of_page: |
|
|||
|
||||
{% include devdoc/example_transactions.md %}
|
||||
|
||||
{% include devdoc/example_p2p_networking.md %}
|
||||
|
||||
<!-- Services like Blockcyper are more likely to be used by most than building a ground-up payment system
|
||||
{% include devdoc/example_payment_processing.md %}
|
||||
-->
|
||||
|
||||
{% include devdoc/example_p2p_networking.md %}
|
||||
|
||||
{% include references.md %}
|
||||
{{site.glossary_links}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue