Skip to content

Commit 00eecd1

Browse files
authored
Fix incorrect block metadata documentation (#378)
The documentation speaks of a block time as part of the block metadata, which is not true. I fixed it and also slightly made this more up to date. Change-Id: Idaa6c26ba205a9c3c3300f2cdf10489acbcdd12e Signed-off-by: yacovm <yacovm@il.ibm.com>
1 parent 4149c6d commit 00eecd1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/source/ledger/ledger.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,13 @@ sections
234234

235235
* **Block Metadata**
236236

237-
This section contains the time when the block was written, as well as the
238-
certificate, public key and signature of the block writer. Subsequently, the
239-
block committer also adds a valid/invalid indicator for every transaction,
240-
though this information is not included in the hash, as that is created when
241-
the block is created.
237+
This section contains the certificate and signature of the block creator which is used to verify
238+
the block by network nodes.
239+
Subsequently, the block committer adds a valid/invalid indicator for every transaction into
240+
a bitmap that also resides in the block metadata, as well as a hash of the cumulative state updates
241+
up until and including that block, in order to detect a state fork.
242+
Unlike the block data and header fields, this section is not an input to the block hash computation.
243+
242244

243245
## Transactions
244246

0 commit comments

Comments
 (0)