backport: merge bitcoin#19806, #21582, #21584, #21270, #21789, #22415, #21525, #21592 (assumeutxo project backports, part 3)#5236
Conversation
7483db9 to
4534f62
Compare
34c07a7 to
ba8bc46
Compare
|
This pull request has conflicts, please rebase. |
8dc73c0 to
f965d97
Compare
|
This pull request has conflicts, please rebase. |
798ca0f to
ac60187
Compare
src/chainparams.cpp
Outdated
There was a problem hiding this comment.
how did you get these values?
There was a problem hiding this comment.
The expected value is generated through the following call chain that starts from validation_chainstatemanager_tests.cpp and ends with a hash comparison check against hardcoded assumeutxo hashes:
CreateAndActivateUTXOSnapshot > ActivateSnapshot > PopulateAndValidateSnapshot
It's just a matter of running ./src/test/test_dash -t validation_chainstatemanager_tests -- DEBUG_LOG_OUT | grep bad and taking the expected hash. Be careful not the take the expected hash generated from one of the tests where the results are expected to be a validation failure.
The hash value for height 210 was calculated similarly by modifying the test to mine 100 more blocks.
|
This pull request has conflicts, please rebase. |
|
This pull request has conflicts, please rebase. |
PastaPastaPasta
left a comment
There was a problem hiding this comment.
utACK for merging via merge commit
rebase looks correct; merging to avoid further conflicts
Additional Notes