mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 04:37:13 +00:00
ignore-ws-check flag doesnt allow the node to start outside the weak subjectivity period (#9290)
Using the `ignore-ws-check` doesn't actually let you start up a node thats outside the weak subjectivity period Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
This commit is contained in:
@@ -849,13 +849,14 @@ where
|
|||||||
It is highly recommended to purge your db and checkpoint sync. For more information please \
|
It is highly recommended to purge your db and checkpoint sync. For more information please \
|
||||||
read this blog post: https://blog.ethereum.org/2014/11/25/proof-stake-learned-love-weak-subjectivity"
|
read this blog post: https://blog.ethereum.org/2014/11/25/proof-stake-learned-love-weak-subjectivity"
|
||||||
)
|
)
|
||||||
}
|
} else {
|
||||||
return Err(
|
return Err(
|
||||||
"The current head state is outside the weak subjectivity period. A node in this state is susceptible to long range attacks. You should purge your db and \
|
"The current head state is outside the weak subjectivity period. A node in this state is susceptible to long range attacks. You should purge your db and \
|
||||||
checkpoint sync. For more information please read this blog post: https://blog.ethereum.org/2014/11/25/proof-stake-learned-love-weak-subjectivity \
|
checkpoint sync. For more information please read this blog post: https://blog.ethereum.org/2014/11/25/proof-stake-learned-love-weak-subjectivity \
|
||||||
If you understand the risks, it is possible to ignore this error with the --ignore-ws-check flag.".to_string()
|
If you understand the risks, it is possible to ignore this error with the --ignore-ws-check flag.".to_string()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
let validator_pubkey_cache = self
|
let validator_pubkey_cache = self
|
||||||
.validator_pubkey_cache
|
.validator_pubkey_cache
|
||||||
|
|||||||
Reference in New Issue
Block a user