Documentation ¶
Index ¶
- Constants
- type ValidatorRegistrationPayload
- type Web3SignerService
- func (s *Web3SignerService) Configure(url *url.URL) error
- func (s *Web3SignerService) GetPubkeyList() (map[string]bool, error)
- func (s *Web3SignerService) GetUrl() *url.URL
- func (s *Web3SignerService) SignRegistration(FeeRecipient bellatrix.ExecutionAddress, Domain uint64, ...) (apiv1.SignedValidatorRegistration, error)
- func (s *Web3SignerService) Status() error
- func (s *Web3SignerService) UpCheck() error
Constants ¶
View Source
const ( SignPath = "/api/v1/eth2/sign/" ListBLSPubKeysPath = "/api/v1/eth2/publicKeys" ReloadSignerKeysPath = "/reload" UpCheckPath = "/upcheck" VALIDATOR_REGISTRATION_ACTION = "VALIDATOR_REGISTRATION" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidatorRegistrationPayload ¶
type ValidatorRegistrationPayload struct { Type string `json:"type"` SigningRoot string `json:"signing_root,omitempty"` ValidatorRegistration *apiv1.ValidatorRegistration `json:"validator_registration"` }
type Web3SignerService ¶
type Web3SignerService struct {
// contains filtered or unexported fields
}
func NewWeb3SignerService ¶
func NewWeb3SignerService() *Web3SignerService
func (*Web3SignerService) GetPubkeyList ¶
func (s *Web3SignerService) GetPubkeyList() (map[string]bool, error)
func (*Web3SignerService) GetUrl ¶
func (s *Web3SignerService) GetUrl() *url.URL
func (*Web3SignerService) SignRegistration ¶
func (s *Web3SignerService) SignRegistration( FeeRecipient bellatrix.ExecutionAddress, Domain uint64, Pubkey phase0.BLSPubKey, Timestamp time.Time, ) (apiv1.SignedValidatorRegistration, error)
func (*Web3SignerService) Status ¶
func (s *Web3SignerService) Status() error
func (*Web3SignerService) UpCheck ¶ added in v0.3.0
func (s *Web3SignerService) UpCheck() error
Click to show internal directories.
Click to hide internal directories.