-
Notifications
You must be signed in to change notification settings - Fork 1.2k
test: v20 earlier activation for regtest #5668
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
test: v20 earlier activation for regtest #5668
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? |
knst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
test/functional/feature_cltv.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
knst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re-utACK
PastaPastaPasta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: