-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
BFT: A BFT synchronizer for smartbft #4695
Conversation
31496ba
to
9fd9ea3
Compare
1a28d80
to
864103c
Compare
This commit provides a smartbft orderer with a BFTSynchronizer. The BFTSynchronizer is the default choice for a smartbft orderer. Signed-off-by: Yoav Tock <tock@il.ibm.com> Change-Id: I577c89309f469d077a9a1007d4b46fa70d7ed650
864103c
to
d1de467
Compare
Signed-off-by: Yoav Tock <tock@il.ibm.com> Change-Id: I3a17506964e9886e62dbb5b3e8bf8713345e43f9
d1de467
to
3ab04f6
Compare
|
||
func NewSyncBuffer() *SyncBuffer { | ||
return &SyncBuffer{ | ||
blockCh: make(chan *common.Block, 10), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we increase this buffer to 100 by default? and ideally this will be configurable. can we open an issue to make this configurable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
#4715
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging but let's address the comment about the buffer size in another PR and issue.
Type of change
Description
A BFT synchronizer for smartbft
Related issues
Issue #4566