Documentation
¶
Index ¶
- func AddProof(db sql.Executor, nodeID types.NodeID, marriageID *marriage.ID, proof []byte, ...) error
- func Count(db sql.Executor) (int, error)
- func IsMalicious(db sql.Executor, nodeID types.NodeID) (bool, error)
- func IterateOps(db sql.Executor, operations builder.Operations, ...) error
- func MarriageProof(db sql.Executor, marriageID marriage.ID) ([]byte, int, error)
- func NodeIDProof(db sql.Executor, nodeID types.NodeID) ([]byte, int, error)
- func SetMalicious(db sql.Executor, nodeID types.NodeID, marriageID marriage.ID, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IterateOps ¶ added in v1.7.10
func MarriageProof ¶ added in v1.7.11
MarriageProof returns the malfeasance proof for the marriage set. Returns sql.ErrNotFound if no proof for the given marriage ID exists. To return a proof for a node ID use NodeIDProof instead.
func NodeIDProof ¶ added in v1.7.11
NodeIDProof returns the malfeasance proof and its domain for the given node ID. Returns sql.ErrNotFound if no proof for the given node ID exists. To return a proof for a marriage set use MarriageProof instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.