-
Notifications
You must be signed in to change notification settings - Fork 173
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
Improve the dpor signature verification. (2nd) #979
Improve the dpor signature verification. (2nd) #979
Conversation
Record key of beacon even if it would be denied, but to diffrent variable. Then verify that either of these keys is in boincHash. Verify the dpor signatore against any of these keys. Accept only if any of the keys matches and any of the signatures is valid. Optimized alternative beacon store and relax check fine
get it out already
@@ -8421,35 +8434,6 @@ bool MemorizeMessage(const CTransaction &tx, double dAmount, std::string sRecipi | |||
sMessageValue=""; | |||
} | |||
|
|||
if (sMessageType=="beacon" && sMessageAction=="A") |
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.
Is the removal of this not an issue now that we verify the beacon when accepting the blocks?
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.
I do not think so. By removing this just memorizes every beacon. V9 beacon transaction rules do prevent new invalid beacons.
Fixed: - Move context sensitive DPoR block checks to ConnectBlock, #912 (@tomasbrod). - Check incoming blocks for malformed DPoR signature, #912. - Corect tally height on init, #917 (@denravonska). - Prevent staking of a block with a failed signature, #948 (@Foggyx420). - Fix UI and RPC slowdown regression, #961 (@denravonska). - Fix Debian lint errors, #886, #885, #884, #883 (@caraka). - Fix fork issue due to research age calculation inconsistencies, #939 (@denravonska). - Fix crashes when tallying, #934 (@denravonska). - Revert reorganize of the chain trust becomes less than what it was, #957 (@tomasbrod). - Fix sync issues with incorrectly accepted v8 beacons, #979 (@tomasbrod). Changed: - Double check PoS kernel, #958 (@tomasbrod). - Don't tally until V9 to speed up syncing, #943 (@denravonska). - Double check proof of stake kernel, #958 (@tomasbrod).
Record key of beacon even if it would be denied, but to diffrent variable.
Then verify that either of these keys is in boincHash. Verify the dpor
signatore against any of these keys. Accept only if any of the keys matches
and any of the signatures is valid.
Optimized alternative beacon store and relax check
fine