Skip to content

Tags: hyperledger-labs/SmartBFT

Tags

v2.3.0-RC3

Toggle v2.3.0-RC3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
 Properly handle ticks when waiting for In-Flight view to finish (#486) * Synchronize Sync and view change proposal deliver to prevent a double commit This commit fixes a bug in which a node is unaware of a proposal being committed by the rest of the nodes, and it attempts a view change which fails, and triggers a view change timeout, which in turn triggers a sync. the asynchronous sync procedure may then commit that proposal, and the proposal will later on be attempted to be committed again once the view change resumes its operation, because the two procedures are parallel. The easy and trivial way of solving this would be to make the view change block until the sync process has ended. While this might work, it makes the single-threaded view change be dependant on network I/O, which is might slow down view change for other nodes due to votes being late. Instead, this commit highjacks the view change commit process and: 1) Waits for any active sync to finish and prevents any syncs from occuring 2) Checks the latest sequence committed and if the proposal being attempted to be committed by the view change is stale, it calls sync which would return either the last proposal committed, or a later one. Signed-off-by: Yacov Manevich <yacovm@il.ibm.com> * Properly handle ticks when waiting for In-Flight view to finish Due to a bug, When the view changer initializes an in-flight view it only waits for a single tick before resuming view change standard operation. Another part of the bug is that it anyway returns success, which in turn makes the sequence of the controller be initialized to an old sequence. Signed-off-by: Yacov Manevich <yacovm@il.ibm.com> Co-authored-by: C0rWin <artem@bargr.net>

v2.3.0-RC2

Toggle v2.3.0-RC2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix restart timers after change leader (#477) Co-authored-by: Фёдор Партанский <partanskiy.f@n-t.io> Co-authored-by: C0rWin <artem@bargr.net>

v2.3.0-RC1

Toggle v2.3.0-RC1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #474 from SmartBFT-Go/request_pool Add configuration to control request pool parameters

v2.3.0

Toggle v2.3.0's commit message
Add go.mod 

v0.3.0

Toggle v0.3.0's commit message
Add go.mod 

0.2

Toggle 0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fixing view change (#427) * fixing view change Signed-off-by: Hagar Meir <hagar.meir@ibm.com> * test view data Signed-off-by: Hagar Meir <hagar.meir@ibm.com> * test new view Signed-off-by: Hagar Meir <hagar.meir@ibm.com> * after review Signed-off-by: Hagar Meir <hagar.meir@ibm.com> * update protos Signed-off-by: Hagar Meir <hagar.meir@ibm.com> * change comment

0.1

Toggle 0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #225 from yacovm/createPoolWithTimeoutHandler Create pool with timeout handler