Skip to content

Conversation

@codablock
Copy link

@codablock codablock commented Jan 23, 2019

See individual commits.

When iterating the db, we should also include entries that match exactly
the end time.
@codablock codablock changed the title Fix cleanup of old recovered sigs Fix LLMQ signing integration tests Jan 23, 2019
@codablock codablock added this to the 14.0 milestone Jan 23, 2019
@UdjinM6
Copy link

UdjinM6 commented Jan 23, 2019

Not sure I like e1b3d79 cause it lets the test pass even though test must fail due to a bug (I introduced and) fixed in #2639. Or maybe e1b3d79 is fine and we should make sure that test the fails if wait_for_quorum_phase/wait_for_quorum_commitment times out i.e. all_ok is False after while loop is done?

@codablock
Copy link
Author

I'll add timeout handling to wait_for_quorum_phase and wait_for_quorum_commitment

@UdjinM6
Copy link

UdjinM6 commented Jan 23, 2019

Failed with timeout now (as expected) 👍

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 b595f9e into dashpay:develop Jan 23, 2019
@codablock codablock deleted the pr_llmq_fixcleanup branch January 23, 2019 08:48
Fuzzbawls added a commit to PIVX-Project/PIVX that referenced this pull request Aug 9, 2024
22efef0 No matter how fast we process sig shares, always force 100ms between sending (Alexander Block)
1bd0c2f Don't sleep in WorkThreadMain when CPU intensive work was done (Alexander Block)
40a247d Implement caching in CRecoveredSigsDb (Alexander Block)
6c63a77 Use CBLSLazySignature in CBatchedSigShares (Alexander Block)
bff6e6e CLLMQUtils::IsQuorumActive() shouldn't require cs_main to be held (UdjinM6)
fdba615 Introduce startBlockHeight to make things more explicit (Alexander Block)
7bca9a2 Correctly use SIGN_HEIGHT_OFFSET when checking for out of bound height (Alexander Block)
04b6a67 Reserve 4k of buffer for CSerializedNetMsg buffer (Alexander Block)
be1c4a7 Fix cleanup of old recovered sigs (Alexander Block)

Pull request description:

  Backport dash PRs (in the following order):
  dashpay#2640
  dashpay#2672
  dashpay#2674
  dashpay#2702
  dashpay#2705
  dashpay#2706
  dashpay#2707

  NB: Some or them are partial backports since most of our llmq files are already updated to a more recent upstream version. So I basically ended up picking the commits that touch only the files `quorums_signing_shares.*` and `quorums_signing.*`

  I suggest to review by checking each individual commit against the corresponding upstream one

ACKs for top commit: 22efef0
  Liquid369:
    tACK 22efef0
  Duddino:
    ACK 22efef0

Tree-SHA512: 94e5dcdef044524ad4fa4d1fadbe670d839a08ccadc39071ba9300cfc44ce3d19ba24dfef1a6c6745271139d43f43ea47ed5a29e06f0d94e13ff09957f8e0c10
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