Skip to content

Commit

Permalink
Fix incorrect block metadata documentation (#378)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yacovm committed Dec 8, 2019
1 parent 4149c6d commit 00eecd1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/source/ledger/ledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,13 @@ sections

* **Block Metadata**

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


## Transactions

Expand Down

0 comments on commit 00eecd1

Please sign in to comment.