-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-1872]: Commit genessis block, joining chain.
Currently genesis block is not get committed into the ledger while chain is created, therefore the delivery client asks from the ordering service to bring blocks starting from the sequence zero. The zero sequence blocks is actually the configuration block which simple fails validation, because configuration block sequence expected to come in increasing order. This commit takes care to get genesis block committed right after chain created for the first time. NOTE: we do not need to "re-commit" this block in case peer get restarted. Change-Id: I82d6830f540b1772e4134ce380428b0189af9fe3 Signed-off-by: Artem Barger <bartem@il.ibm.com>
- Loading branch information
Showing
3 changed files
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters