Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnablePenalization ¶
Types ¶
type Allegation ¶
type Allegation struct { RequestID string ValidatorAddress keys.Address MaliciousAddress keys.Address BlockHeight int64 ProofMsg string }
func (Allegation) Marshal ¶
func (r Allegation) Marshal() ([]byte, error)
func (Allegation) Signers ¶
func (r Allegation) Signers() []action.Address
func (Allegation) Tags ¶
func (r Allegation) Tags() kv.Pairs
func (Allegation) Type ¶
func (r Allegation) Type() action.Type
func (*Allegation) Unmarshal ¶
func (r *Allegation) Unmarshal(data []byte) error
type AllegationVote ¶
func (AllegationVote) Marshal ¶
func (av AllegationVote) Marshal() ([]byte, error)
func (AllegationVote) Signers ¶
func (av AllegationVote) Signers() []action.Address
func (AllegationVote) Tags ¶
func (av AllegationVote) Tags() kv.Pairs
func (AllegationVote) Type ¶
func (av AllegationVote) Type() action.Type
func (*AllegationVote) Unmarshal ¶
func (av *AllegationVote) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.