-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Dao: Add handler for republishing all dao governance data, improve vote result handling #2363
Dao: Add handler for republishing all dao governance data, improve vote result handling #2363
Conversation
In case that the users blind vote list does not match the hash of the majority we want to find if any variation of our list leads to a match so we can still calculate the vote result.
…sult-with-permutated-blindvotelist
…o-fix-vote-result-with-permutated-blindvotelist # Conflicts: # core/src/main/java/bisq/core/dao/governance/votereveal/VoteRevealService.java
Remove parsingComplete check
@sqrrm I will rebase after i merged master with the other 2 PRs... |
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
The comments on log level stand but it's just refactoring so can be tended to in another PR
boolean success = p2PService.addPersistableNetworkPayload(proposalPayload, true); | ||
String txId = proposalPayload.getProposal().getTxId(); | ||
if (success) { | ||
log.warn("We received a RepublishGovernanceDataRequest and re-published a proposalPayload to " + |
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.
Maybe this shouldn't be warning level log
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.
Yes was also wondering. But it make it more visible if that occurres so that anyone can see if any peer is missing data. Basically the P2P network should be reliable enough to not cause that.
boolean success = p2PService.addPersistableNetworkPayload(blindVotePayload, true); | ||
String txId = blindVotePayload.getBlindVote().getTxId(); | ||
if (success) { | ||
log.warn("We received a RepublishGovernanceDataRequest and re-published a blindVotePayload to " + |
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.
Same here, I don't think warning level is right
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.
Ah, I see now, its at each success case, thats definitely too much. Will fix it in next PR.
No description provided.