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
Store banned coins in file #10964
Store banned coins in file #10964
Conversation
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.
Everything in this solution LGTM.
I have some nits on naming, like exc
that could be renamed ex
, or banDeadlineTime
which is not a perfect name. But nothing important enough to not approve this PR.
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.
cACK
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.
Fix CF-s as well.
Fixed |
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.
cACK - almost done gj
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.
tACK
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.
still tACK
Similar to #10957
This approach adds
CoinPrison
toCoinJoinManager
, so we can get and callCoinPrison
directly inCoinJoinManager
for banning.Also introduces an even subscription in
Global
toWalletManager
which loads in banned state of coins. This function can later on be deleted when we get rid ofSmartCoin.IsBanned
.