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

Testing and simplifying catchup #1984

Merged
merged 2 commits into from
Jul 11, 2019
Merged

Testing and simplifying catchup #1984

merged 2 commits into from
Jul 11, 2019

Conversation

ineiti
Copy link
Member

@ineiti ineiti commented Jun 28, 2019

The previous tests only unit-tested the catchup and downloadDB methods. This test
runs it in a more production-like environment with transactions being processed
as the node catches up. A couple of problems got fixed:

  • downloadDB now stores the new blocks
  • byzcoin.verifySkipblock checks if it needs to catchup

Depends on dedis/onet#559
Closes #1980

@ineiti ineiti self-assigned this Jun 28, 2019
@ineiti ineiti force-pushed the sync_chain_1980 branch 4 times, most recently from aa07ddc to 81cc105 Compare July 2, 2019 06:57
@ineiti ineiti force-pushed the sync_chain_1980 branch 2 times, most recently from bebe6cd to 579e659 Compare July 9, 2019 08:33
The previous tests only unit-tested the catchup and downloadDB methods. This test
runs it in a more production-like environment with transactions being processed
as the node catches up. A couple of problems got fixed:

* it uses the new SendProtobufParallel to simplify sending of messages
* downloadDB now stores the new blocks
* byzcoin.verifySkipblock checks if it needs to catchup

Depends on dedis/onet#559
Closes dedis#1980
@ineiti ineiti force-pushed the sync_chain_1980 branch from 579e659 to ae285a3 Compare July 9, 2019 08:47
@ineiti ineiti mentioned this pull request Jul 9, 2019
byzcoin/collect_tx.go Outdated Show resolved Hide resolved
@kc1212 kc1212 merged commit 650ced4 into dedis:master Jul 11, 2019
@ineiti ineiti deleted the sync_chain_1980 branch July 11, 2019 07:47
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.

syncChain can go into an infinite loop
2 participants