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

Use smaller (3 out of 5) quorums for regtest/Travis #2774

Merged
merged 7 commits into from
Mar 15, 2019

Conversation

codablock
Copy link

@codablock codablock commented Mar 14, 2019

This should reduce the load on Travis quite a bit and thus result in less flaky tests.

Also fixes multiple issues found while fixing tests.

@UdjinM6 UdjinM6 added this to the 14.0 milestone Mar 14, 2019
@UdjinM6
Copy link

UdjinM6 commented Mar 14, 2019

Looks good 👍 (even though it does a bit more than what the PR description says ;) )

@@ -437,7 +437,7 @@ class CFixedBitSet
vec[p] = (vBytes[p / 8] & (1 << (p % 8))) != 0;
if (vBytes.size() * 8 != size) {
size_t rem = vBytes.size() * 8 - size;
uint8_t m = (uint8_t)(0xff << rem);
uint8_t m = ~(uint8_t)(0xff >> rem);
Copy link
Member

Choose a reason for hiding this comment

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

you like your weird operators ;)

Copy link
Author

Choose a reason for hiding this comment

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

Not really :D But give me alternatives please :D

Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK

@codablock
Copy link
Author

Rebased and force-pushed after merge of #2772

@codablock
Copy link
Author

Tests are finally green 🎉
Need re-ACKs :)

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

@UdjinM6 UdjinM6 merged commit a69a5cf into dashpay:develop Mar 15, 2019
@codablock codablock deleted the pr_regtest_smaller_quorums branch March 15, 2019 16:36
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.

None yet

3 participants