ZIP 244: formatting fix.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2021-03-07 19:34:11 +00:00
parent 65ce3b9c55
commit 5df826f0f6
2 changed files with 5 additions and 4 deletions

View File

@ -267,9 +267,10 @@ additional data</pre>
</section>
<section id="authorizing-data-commitment"><h4><span class="section-heading">Authorizing Data Commitment</span><span class="section-anchor"> <a rel="bookmark" href="#authorizing-data-commitment"><img width="24" height="24" src="assets/images/section-anchor.png" alt=""></a></span></h4>
<p>A new transaction digest algorithm is defined that constructs a digest which commits to the authorizing data of a transaction from a tree of BLAKE2b-256 hashes. The overall structure of the hash is as follows:</p>
<blockquote>
<p>auth_digest ├── transparent_scripts_digest ├── sprout_auth_digest └── sapling_auth_digest</p>
</blockquote>
<pre>auth_digest
├── transparent_scripts_digest
├── sprout_auth_digest
└── sapling_auth_digest</pre>
<p>Each node written as <code>snake_case</code> in this tree is a BLAKE2b-256 hash of authorizing data of the transaction.</p>
<p>The pair (Transaction Identifier, Auth Commitment) constitutes a commitment to all the data of a serialized transaction that may be included in a block.</p>
<section id="auth-digest"><h5><span class="section-heading">auth_digest</span><span class="section-anchor"> <a rel="bookmark" href="#auth-digest"><img width="24" height="24" src="assets/images/section-anchor.png" alt=""></a></span></h5>

View File

@ -491,7 +491,7 @@ Authorizing Data Commitment
A new transaction digest algorithm is defined that constructs a digest which commits
to the authorizing data of a transaction from a tree of BLAKE2b-256 hashes.
The overall structure of the hash is as follows:
The overall structure of the hash is as follows::
auth_digest
├── transparent_scripts_digest