Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calculator ¶
type Calculator interface { GetPulseProof(*PulseEntry) (OriginHash, *PulseProof, error) GetGlobuleProof(*GlobuleEntry) (OriginHash, *GlobuleProof, error) GetCloudProof(*CloudEntry) (OriginHash, *CloudProof, error) IsValid(Proof, OriginHash, crypto.PublicKey) bool }
func NewCalculator ¶
func NewCalculator() Calculator
type CloudEntry ¶
type CloudEntry struct { ProofSet []*GlobuleProof PrevCloudHash []byte }
type CloudProof ¶
type CloudProof struct {
BaseProof
}
type GlobuleEntry ¶
type GlobuleEntry struct { *PulseEntry ProofSet map[core.Node]*PulseProof PulseHash []byte PrevCloudHash []byte GlobuleID core.GlobuleID }
type GlobuleProof ¶
type OriginHash ¶
type OriginHash []byte
type PulseEntry ¶
type PulseProof ¶
Click to show internal directories.
Click to hide internal directories.