test: v20 earlier activation for regtest#5668
test: v20 earlier activation for regtest#5668PastaPastaPasta merged 3 commits intodashpay:developfrom ogabrielides:v20_earlier_activation_regtest
Conversation
|
I don't understand.... Can you clarify a couple of things pls?
needed for what?
so we mine less blocks but it's slower now? how so? |
test/functional/feature_cltv.py
Outdated
There was a problem hiding this comment.
note for reviewers: if this PR would be merged after #5658 need to replace -1 to 0 so far as MNActivationHeight is refactored to flag useEHF.
| '-vbparams=v20:0:999999999999:480:384:288:5:-1' # Delay v20 for this test as we don't need it | |
| '-vbparams=v20:0:999999999999:480:384:288:5:0' # Delay v20 for this test as we don't need it |
Sorry, the faster time is with this PR and the slower using develop. I mistyped the description. Fixed it |
|
Would need to rebase if #5665 gets merged first. |
|
LGTM but I think I'd prefer #5658 to be merged first |
|
This pull request has conflicts, please rebase. |
PastaPastaPasta
left a comment
There was a problem hiding this comment.
utACK for squash merge
Issue being fixed or feature implemented
Currently, on functional tests v20 activates at height 1440 which is later than needed.
What was done?
Reduced the window size of v20 from 480 to 400 which activates v20 at 1200.
Adjusted tests to this change.
Note regarding the window analysis for MN payments in
feature_llmq_evo.py(reduced from 256 to 48 blocks):48 window is enough to analyse 4 MNs and 5 EvoNodes (Weighted count=24)
On my machine using develop:
python3 feature_llmq_rotation.py 145.45s user 30.00s system 68% cpu 4:16.93 totalWith this PR:
python3 feature_llmq_rotation.py 119.26s user 24.61s system 62% cpu 3:50.89 totalHow Has This Been Tested?
all tests
Breaking Changes
no
Checklist: