Skip to content

Gradually bump mocktime in wait_for_quorum_connections#3388

Merged
codablock merged 2 commits into
dashpay:developfrom
UdjinM6:bumpmock
Mar 31, 2020
Merged

Gradually bump mocktime in wait_for_quorum_connections#3388
codablock merged 2 commits into
dashpay:developfrom
UdjinM6:bumpmock

Conversation

@UdjinM6

@UdjinM6 UdjinM6 commented Mar 29, 2020

Copy link
Copy Markdown

mine_quorum might bump mocktime by 30 seconds a couple of times while waiting for connections which causes test failures sometimes.

@UdjinM6 UdjinM6 added this to the 16 milestone Mar 29, 2020
@UdjinM6 UdjinM6 changed the title Bump mocktime more in llmq-connections.py when checking for mn probe aging [WIP] Fixing llmq-connections.py failures Mar 29, 2020
@UdjinM6 UdjinM6 changed the title [WIP] Fixing llmq-connections.py failures Gradually bump mocktime in wait_for_quorum_connections Mar 30, 2020
@codablock

Copy link
Copy Markdown

Not sure I understand...why is this change necessary? It causes unnecessary wait time when connections need to be re-established.

@codablock

Copy link
Copy Markdown

Is this needed because of such failures? https://gitlab.com/dashpay/dash/-/jobs/490340173

@UdjinM6

UdjinM6 commented Mar 30, 2020

Copy link
Copy Markdown
Author

@codablock yes, this kind of failures.

@codablock

Copy link
Copy Markdown

I'd suggest to also reduce LLMQConnectionRetryTimeout in regtest chainparams to 1 second, this should speed up things a lot in case of connection failure.

@codablock codablock left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ACK

@codablock
codablock merged commit f43cdbc into dashpay:develop Mar 31, 2020
@UdjinM6
UdjinM6 deleted the bumpmock branch November 26, 2020 13:25
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Mar 12, 2022
* Gradually bump mocktime in wait_for_quorum_connections

* Lower nLLMQConnectionRetryTimeout to 1 sec for regtest
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