Security changes (#9923)

* Move test-only functions to test modules

* Remove sigverify disable

* Remove chacha CTR code
This commit is contained in:
sakridge
2020-05-08 10:00:23 -07:00
committed by GitHub
parent 01ab1d1369
commit f98bfda6f9
9 changed files with 36 additions and 132 deletions

View File

@ -572,12 +572,6 @@ pub fn main() {
.requires("entrypoint")
.help("Skip the RPC vote account sanity check")
)
.arg(
Arg::with_name("dev_no_sigverify")
.long("dev-no-sigverify")
.takes_value(false)
.help("Run without signature verification"),
)
.arg(
Arg::with_name("dev_halt_at_slot")
.long("dev-halt-at-slot")
@ -867,7 +861,6 @@ pub fn main() {
};
let mut validator_config = ValidatorConfig {
dev_sigverify_disabled: matches.is_present("dev_no_sigverify"),
dev_halt_at_slot: value_t!(matches, "dev_halt_at_slot", Slot).ok(),
expected_genesis_hash: matches
.value_of("expected_genesis_hash")