Skip to content
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

For dedis #285

Merged
merged 15 commits into from
May 27, 2024
Merged

For dedis #285

merged 15 commits into from
May 27, 2024

Conversation

ineiti
Copy link
Member

@ineiti ineiti commented Apr 22, 2024

  • add fastsync protocol which only sends new blocks when needed
  • various small fixes:
    • timeouts (for mixing 10'000 ballots)
    • clean up socket file so CLI can be started twice in a row
  • fix comparisons/updates of block indices and transaction nonces

@ineiti ineiti mentioned this pull request Apr 22, 2024
.github/workflows/go_test.yml Show resolved Hide resolved
@@ -164,7 +175,7 @@ func TestService_Scenario_ViewChange_Request(t *testing.T) {
require.Equal(t, leader, nodes[0].onet.GetAddress())

// let enough time for a round to run
time.Sleep(DefaultRoundTimeout + 100*time.Millisecond)
time.Sleep(time.Second)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't there a way to speed up tests ? waiting a second so often is rather slow.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add a poll-wait here: check every 100ms if the desired state is reached, and quit if after 10 checks we're not there yet.

Which methods would need that?

@jbsv jbsv changed the base branch from master to main May 15, 2024 15:43
@jbsv jbsv deleted the branch dedis:main May 15, 2024 15:44
@jbsv jbsv closed this May 15, 2024
@jbsv jbsv reopened this May 15, 2024
@jbsv jbsv mentioned this pull request May 27, 2024
@jbsv jbsv merged commit 4f9f8e1 into dedis:main May 27, 2024
11 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants