lighthouse/account_manager/src/validator
Paul Hauner d9f940613f Represent slots in secs instead of millisecs (#2163)
## Issue Addressed

NA

## Proposed Changes

Copied from #2083, changes the config milliseconds_per_slot to seconds_per_slot to avoid errors when slot duration is not a multiple of a second. To avoid deserializing old serialized data (with milliseconds instead of seconds) the Serialize and Deserialize derive got removed from the Spec struct (isn't currently used anyway).

This PR replaces #2083 for the purpose of fixing a merge conflict without requiring the input of @blacktemplar.

## Additional Info

NA


Co-authored-by: blacktemplar <blacktemplar@a1.net>
2021-01-19 09:39:51 +00:00
..
create.rs Fix new clippy lints (#2036) 2020-12-03 01:10:26 +00:00
exit.rs Represent slots in secs instead of millisecs (#2163) 2021-01-19 09:39:51 +00:00
import.rs delete validator-dir path printing in subcommands (#2025) 2020-12-01 00:04:48 +00:00
list.rs delete validator-dir path printing in subcommands (#2025) 2020-12-01 00:04:48 +00:00
mod.rs Change --testnet flag to --network (#1751) 2020-11-23 23:54:03 +00:00
recover.rs delete validator-dir path printing in subcommands (#2025) 2020-12-01 00:04:48 +00:00
slashing_protection.rs Fix new clippy lints (#2036) 2020-12-03 01:10:26 +00:00