-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SmartBFT consensus support #3781
Commits on Feb 17, 2023
-
add SMaRtBFT consensus support
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for e3be07a - Browse repository at this point
Copy the full SHA e3be07aView commit details -
Upgraded smartbft consensus library
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 8bc9086 - Browse repository at this point
Copy the full SHA 8bc9086View commit details -
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for db83dbd - Browse repository at this point
Copy the full SHA db83dbdView commit details -
Signed-off-by: Yacov Manevich yacovm@il.ibm.com Signed-off-by: Yoav Tock tock@il.ibm.com Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 6fe0ffa - Browse repository at this point
Copy the full SHA 6fe0ffaView commit details -
Validate block validation policy matches consenter set
Change-Id: Ia0f926ddb984cc3008542328a85d41af56be36d3 Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for ad6c10c - Browse repository at this point
Copy the full SHA ad6c10cView commit details -
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 61be868 - Browse repository at this point
Copy the full SHA 61be868View commit details -
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 76c7bf1 - Browse repository at this point
Copy the full SHA 76c7bf1View commit details -
update to orderer main with debug statements
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for c39770c - Browse repository at this point
Copy the full SHA c39770cView commit details -
Change-Id: I59bf40ff90be2299aa1733cc672ea88f94984b4f Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 894f3ed - Browse repository at this point
Copy the full SHA 894f3edView commit details -
DO NOT MERGE - the signature verification in the peer has been temporarily disabled Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for c688bf4 - Browse repository at this point
Copy the full SHA c688bf4View commit details -
Only append block signature if needed
Change-Id: I13ebe069fe4f8fb9b7a3d4671668a5da85cab8ea Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 0b66bf1 - Browse repository at this point
Copy the full SHA 0b66bf1View commit details -
Use identifier headers instead of signature headers and properly enco…
…de/decode signatures Change-Id: Ifdd7e9a2a690dc6328bfec60ad22efae9a42fa7c Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for c651c80 - Browse repository at this point
Copy the full SHA c651c80View commit details -
integration test for update config transaction
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 1b53e83 - Browse repository at this point
Copy the full SHA 1b53e83View commit details -
Properly encode BFT policy when updating consenters
Change-Id: I9eb09e2874f4c4fbea77d99aa0528204412c0820 Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for d20d3fe - Browse repository at this point
Copy the full SHA d20d3feView commit details -
block puller failing while block data identity referencing
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 76ed2b6 - Browse repository at this point
Copy the full SHA 76ed2b6View commit details -
Change the BlockPuller to use the protoutil.BlockVerifierFunc generator which works for BFT blocks. Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 65beb66 - Browse repository at this point
Copy the full SHA 65beb66View commit details -
reconfig with node removal failing
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for eb1fce5 - Browse repository at this point
Copy the full SHA eb1fce5View commit details -
Add “smartbft multiple nodes view change” test
Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 96c8893 - Browse repository at this point
Copy the full SHA 96c8893View commit details -
integration test iteratively add and remove nodes
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for f414643 - Browse repository at this point
Copy the full SHA f414643View commit details -
updated orderer rejoin integration test scenario
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 9cf5213 - Browse repository at this point
Copy the full SHA 9cf5213View commit details -
fixed lint erros and upgrade consensus module
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 07e1204 - Browse repository at this point
Copy the full SHA 07e1204View commit details -
Most of the test build failures were due to changing the signature verifier from an interface to a function generated by a HOF. This meant that the mocks in the tests had to be rewritten. There are still some test failures in the smartbft package that I suspect haven’t worked in this version of Fabric. They will be addressed in another commit. Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 03cb1ae - Browse repository at this point
Copy the full SHA 03cb1aeView commit details -
Fix ConfigTx ConsenterMapping integration test
Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for f2fb2b9 - Browse repository at this point
Copy the full SHA f2fb2b9View commit details -
The Raft channel_participation integration tests were failing because the new logic in initializeMultichannelRegistrar() for initialising without system channel assumes that the consenter type is BFT unless it is told otherwise in the local config. This commit adds the consenter type to the orderer config template Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 020ba6c - Browse repository at this point
Copy the full SHA 020ba6cView commit details -
Fixes CI failure in BasicChecks phase Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 878b229 - Browse repository at this point
Copy the full SHA 878b229View commit details -
Fix failures in smartbft unit tests
Many of these were failing due to comparing error message that contain serialized proto structures. Ideally, these shouldn’t be relied on in tests. Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 3303530 - Browse repository at this point
Copy the full SHA 3303530View commit details -
Add smartbft integration test to CI
Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for e6fa688 - Browse repository at this point
Copy the full SHA e6fa688View commit details -
Signed-off-by: andrew-coleman <andrew_coleman@uk.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 46da358 - Browse repository at this point
Copy the full SHA 46da358View commit details -
Align log expectation in test to actual log printed by the BFT library
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 9811043 - Browse repository at this point
Copy the full SHA 9811043View commit details -
Fix autonomous synchronization integration test
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 70e772f - Browse repository at this point
Copy the full SHA 70e772fView commit details -
Make smartbft node addition and removal pass
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 3da479d - Browse repository at this point
Copy the full SHA 3da479dView commit details -
code cleanup and updated quorum calculation
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 0ba16b1 - Browse repository at this point
Copy the full SHA 0ba16b1View commit details -
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 78be67d - Browse repository at this point
Copy the full SHA 78be67dView commit details -
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 97d4aae - Browse repository at this point
Copy the full SHA 97d4aaeView commit details -
addressed first set of review comments
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 8f5fc3b - Browse repository at this point
Copy the full SHA 8f5fc3bView commit details -
Updated detectSelfID to use consentermapping ecert
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for e520646 - Browse repository at this point
Copy the full SHA e520646View commit details -
BFTchain uses new communication service
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 3b4f173 - Browse repository at this point
Copy the full SHA 3b4f173View commit details -
Configure ingress at reconfig and include intermediate TLS CA certs
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 236052a - Browse repository at this point
Copy the full SHA 236052aView commit details -
Sanitize e-certs in communication mapping and when looking up ids
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 283d6ac - Browse repository at this point
Copy the full SHA 283d6acView commit details -
Vendor latest consensus library
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 27ab528 - Browse repository at this point
Copy the full SHA 27ab528View commit details -
Fix iterated removal integration test
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 8f8f502 - Browse repository at this point
Copy the full SHA 8f8f502View commit details -
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for cda973a - Browse repository at this point
Copy the full SHA cda973aView commit details -
Verify requests received from followers
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for a89d10a - Browse repository at this point
Copy the full SHA a89d10aView commit details -
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 6f84d44 - Browse repository at this point
Copy the full SHA 6f84d44View commit details -
Follower detects rogue genesis block, uses BFT signature verification
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 7fab0d0 - Browse repository at this point
Copy the full SHA 7fab0d0View commit details -
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 74b0023 - Browse repository at this point
Copy the full SHA 74b0023View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96979f7 - Browse repository at this point
Copy the full SHA 96979f7View commit details -
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 9355ab4 - Browse repository at this point
Copy the full SHA 9355ab4View commit details -
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for f2ac0b1 - Browse repository at this point
Copy the full SHA f2ac0b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea1d78d - Browse repository at this point
Copy the full SHA ea1d78dView commit details -
Rebuild verifier when encountering config block
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for 0c93b88 - Browse repository at this point
Copy the full SHA 0c93b88View commit details -
Remove print, elaborate comment
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for a2b6bd0 - Browse repository at this point
Copy the full SHA a2b6bd0View commit details -
Resolve module conflicts and rebase on top of main
Signed-off-by: Yacov Manevich <yacov.manevich@ibm.com>
Configuration menu - View commit details
-
Copy full SHA for af479c5 - Browse repository at this point
Copy the full SHA af479c5View commit details