Documentation ¶
Index ¶
- func GetMalfeasanceBlob(db sql.Executor, nodeID []byte) ([]byte, error)
- func GetMalfeasanceProof(db sql.Executor, nodeID types.NodeID) (*types.MalfeasanceProof, error)
- func GetMalicious(db sql.Executor) ([]types.NodeID, error)
- func IsMalicious(db sql.Executor, nodeID types.NodeID) (bool, error)
- func SetMalicious(db sql.Executor, nodeID types.NodeID, proof []byte, received time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMalfeasanceBlob ¶
GetMalfeasanceBlob returns the malfeasance proof in raw bytes for the given identity.
func GetMalfeasanceProof ¶
GetMalfeasanceProof returns the malfeasance proof for the given identity.
func IsMalicious ¶
IsMalicious returns true if identity is known to be malicious.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.