Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manifest ¶
type Manifest struct {
TSS crypto.TBLSScheme `json:"tss"` // Threshold signature scheme params
Members []crypto.BLSPubkeyHex `json:"members"` // DV consensus BLS pubkeys
ENRs []string `json:"enrs"` // Charon peer ENRs
}
Manifest captures the public cryptographic and networking info required to connect to a DV cluster.
func LoadManifest ¶
LoadManifest reads the manifest from the given file path.
func NewForT ¶ added in v0.1.1
NewForT returns a new random cluster manifest with threshold m and size n. It also returns the peer p2p keys and BLS keyshards. Note that the threshold signatures are stubs at this point.
func (*Manifest) ParsedENRs ¶
ParsedENRs returns the decoded list of ENRs in a manifest.
Click to show internal directories.
Click to hide internal directories.