-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add miners whitelist to testnet configs #815
Conversation
@@ -0,0 +1,1004 @@ | |||
{ | |||
"allowed-miners": [ | |||
"006f366775cd73455ee7f208d8dc258ba7c1d48645ef2f4aeef7024652ac10205aed36bfc594e85021acc216762e7ab75f7759a815409f37d05e863651920091", |
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.
long list hehe :P
@@ -149,3 +149,5 @@ | |||
# empty means that everybody can mine | |||
allowed-miners = [] | |||
} | |||
|
|||
include "chains/testnet-allowed-miners" |
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.
Should we include the same list of the nomad deployer or will different keys be generated there?
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.
it's a draft. only reason it's open is for hydra to pick it up.
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.
(the previous attempt simply didn't work; hocon documentation isn't super clear)
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.
just an general comment: the list of public keys is taken into account only if option
mantis.consensus.protocol
is set to restricted-ethash
Now you tell me! 😅 |
7b0cea4
to
30e70ef
Compare
allowed-miners
list to testnet configs
allowed-miners
list to testnet configsto enable miner whitelist
27686c6
to
3a29713
Compare
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.
LGTM!
.\\ //.
. \ \ / /.
.\ ,\ /` /,.-
-. \ /'/ / .
` - `-' \ -
'. /.\`
- .-
:`//.'
.`.'
.' BP
consensus.protocol
for both testnets (inbase-testnet.conf
)to
restricted-ethash
in order to enable whitelist.Tested that a newly deployed gac-based testnet whose miners are not in the whitelist remains at block 0.