Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ActionSign is the action of signing data. ActionSign = "Sign" // ActionSignBeaconAttestation is the action of signing a beacon attestation. ActionSignBeaconAttestation = "Sign beacon attestation" // ActionSignBeaconProposal is the action of signing a beacon proposal. ActionSignBeaconProposal = "Sign beacon proposal" // ActionAccessAccount is the action of accessing an account. ActionAccessAccount = "Access account" )
Functions ¶
This section is empty.
Types ¶
type AccessAccountData ¶
type AccessAccountData struct {
Paths []string
}
AccessAccountData is passed to 'AccessAccount' ruler requests.
type Checkpoint ¶
Checkpoint is part of SignBeaconAttestationData.
type Service ¶
type Service interface { // RunRules runs a set of rules for the given information. RunRules(context.Context, string, string, string, []byte, interface{}) core.RulesResult }
Service provides an interface to check requests against a rules engine.
type SignBeaconAttestationData ¶
type SignBeaconAttestationData struct { Domain []byte Slot uint64 CommitteeIndex uint64 BeaconBlockRoot []byte Source *Checkpoint Target *Checkpoint }
SignBeaconAttestationData is passed to 'SignBeaconAttestation' ruler requests.
Click to show internal directories.
Click to hide internal directories.