# README
Eth Key Manager - Validator Signer
Validator Signer has the responsibility to sign the basic 3 operations an eth 2.0 validator needs:
- sign attestation
- sign block proposal
- sign attestation aggregation
- return available public keys
Instantiation
signer := &signer.SimpleSigner{
wallet,
slashingProtector
}
# Functions
ComputeETHSigningRoot returns computed root for eth signing.
IsValidFarFutureEpoch prevents far into the future signing request, verify a slot is within the current epoch https://github.com/ethereum/eth2.0-specs/blob/dev/specs/phase0/validator.md#protection-best-practices.
IsValidFarFutureSlot returns true if the given slot is valid.
NewSimpleSigner is the constructor of SimpleSigner.
# Variables
FarFutureMaxValidEpoch is the max epoch of far future signing.
# Structs
SimpleSigner implements ValidatorSigner interface.
# Interfaces
ValidatorSigner represents the behavior of the validator signer.