Details
-
Story
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
-
None
-
3
-
Unset
-
Unset
-
Unset
Description
Today, the orderer is using the functions defined in `fabric/protos/common/block.go` for hashing the block header and data.
These functions are definitely wrong, and were never intended to be long term solutions. These functions need to be fixed to use a hashing algorithm and marshalling scheme (and possibly using a wide Merkle Tree for the BlockData).
This was discussed somewhat extensively in https://gerrit.hyperledger.org/r/#/c/1361/ but no conclusion was reached.
Attachments
1.
|
Add HashingAlgorithm chain config item |
|
Closed | Unassigned |
2.
|
Add BlockDataHashStructure chain config item |
|
Closed | Unassigned |
3.
|
Implement block header deterministic hashing |
|
Closed | Unassigned |
4.
|
Implement deterministic block data hashing structure |
|
Closed | Jason Yellick |
5.
|
Add utility methods for generating chain config items |
|
Closed | Jason Yellick |
6.
|
Add utility methods for generating orderer config items |
|
Closed | Jason Yellick |
7.
|
Add utility method for generating policy config items |
|
Closed | Jason Yellick |
8.
|
Refactor provisional bootstrap generator |
|
Closed | Jason Yellick |
9.
|
Add chain config mock structures |
|
Closed | Jason Yellick |
10.
|
Move policy manager creation to common components |
|
Closed | Jason Yellick |
11.
|
Refactor orderer multichain package to prep for chainconfig |
|
Closed | Jason Yellick |
12.
|
Add chain config to common configtx.Manager |
|
Closed | Jason Yellick |
13.
|
Delete Me Please |
|
Closed | Jason Yellick |