-
Notifications
You must be signed in to change notification settings - Fork 14
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
optimize chain #283
optimize chain #283
Conversation
PascalinDe
commented
Apr 3, 2024
- add fastsync protocol
- fix comparisons/updates of block indices and nonces
Use RandomFilter to select a given amount of indexes randomly. Added suggestion from @PascalinDe
Adds the fastsync as default protocol to cosipbft. Adds a 'WithBlockSync' option for the old, slow protocol. Updates all the tests.
Adding a fast synchronisation protocol
- increased the default timeouts (tests set their own timeout) - increased maximum message size over grpc
Using main for github workflow
Updating the timeouts to make pass 1000 votes
E2e fixes
Don't use the sync beforehand - the manager.Make takes care of that
@ineiti I wasn't sure how to split this up in smaller PRs as they seem to more or less revolve around the same issue (syncing) with maybe one or two commits that address some other issue, I let you split this up more sensibly if need be |
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.
Just one comment that needs to be removed - @PascalinDe do you want to patch the commit? Or shall I do it?
@@ -2,7 +2,7 @@ name: Go lint | |||
|
|||
on: | |||
push: | |||
branches: [ master ] | |||
branches: [ main ] |
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.
@pierluca @jbsv - not sure if you want to switch to main
branch instead of master
. We switched all our repos to main
: https://www.theserverside.com/feature/Why-GitHub-renamed-its-master-branch-to-main
// LG: DEBUG - I'd like to keep this commented line, as it helps debugging. | ||
// res.Message = fmt.Sprintf("%+v", err) |
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.
@ineiti TODO: need to remove these lines...
Closed in favor of #285 |