-
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
Closed
+1,314
−129
Closed
optimize chain #283
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
0d3d8dd
Adding RandomFilter
ineiti dc5ae50
Protocol definitions for fastsync
ineiti d0e850e
Adding the fastsync protocol
ineiti 7c2c340
Making fastsync the default protocol
ineiti 8c94bd3
Merge pull request #14 from c4dt/fastsync
ineiti 856217d
Using main for github workflow
ineiti 7a7c380
Updating the timeouts to make pass 1000 votes
ineiti 3a7abac
Merge pull request #15 from c4dt/workflow_main
ineiti d9bfc5a
Merge pull request #16 from c4dt/do_1000_votes
ineiti 29b601f
1h rounds...
ineiti 609ccd8
Comments and repetitions
ineiti d989fb9
Remove existing socket file upon startup
ineiti 783172f
Increase logging
ineiti 9674606
Put fast block sync into a unique place
ineiti 91d4d96
Fix comparisons and updates of block indexes and nonces
ineiti c27f860
Doing some magic timeout adjustments
ineiti fb6aaf7
Fix tests
ineiti 73bff7b
Merge pull request #19 from c4dt/e2e_fixes
ineiti 330695b
Don't use the sync beforehand - the manager.Make takes care of that
ineiti 1db49b3
Merge pull request #20 from c4dt/pool_manager_fix
ineiti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,6 +84,8 @@ func (ns *Service) Execute(snap store.Snapshot, step execution.Step) (execution. | |
err := contract.Execute(snap, step) | ||
if err != nil { | ||
res.Accepted = false | ||
// LG: DEBUG - I'd like to keep this commented line, as it helps debugging. | ||
// res.Message = fmt.Sprintf("%+v", err) | ||
Comment on lines
+87
to
+88
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ineiti TODO: need to remove these lines... |
||
res.Message = err.Error() | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 ofmaster
. We switched all our repos tomain
: https://www.theserverside.com/feature/Why-GitHub-renamed-its-master-branch-to-main