Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Pollen defines the instance ID of the Pollen drng committee. Pollen = 1 // XTeam defines the instance ID of the X-Team drng committee. XTeam = 1339 // Community defines the instance ID of the Community drng committee. Community = 7438 )
View Source
const ( // CfgDRNGInstanceID defines the config flag of the DRNG instanceID. CfgDRNGInstanceID = "drng.pollen.instanceId" // CfgDRNGThreshold defines the config flag of the DRNG threshold. CfgDRNGThreshold = "drng.pollen.threshold" // CfgDRNGDistributedPubKey defines the config flag of the DRNG distributed Public Key. CfgDRNGDistributedPubKey = "drng.pollen.distributedPubKey" // CfgDRNGCommitteeMembers defines the config flag of the DRNG committee members identities. CfgDRNGCommitteeMembers = "drng.pollen.committeeMembers" // CfgDRNGXTeamInstanceID defines the config flag of the DRNG instanceID. CfgDRNGXTeamInstanceID = "drng.xteam.instanceId" // CfgDRNGXTeamThreshold defines the config flag of the DRNG threshold. CfgDRNGXTeamThreshold = "drng.xteam.threshold" // CfgDRNGXTeamDistributedPubKey defines the config flag of the DRNG distributed Public Key. CfgDRNGXTeamDistributedPubKey = "drng.xteam.distributedPubKey" // CfgDRNGXTeamCommitteeMembers defines the config flag of the DRNG committee members identities. CfgDRNGXTeamCommitteeMembers = "drng.xteam.committeeMembers" // CfgDRNGCustomInstanceID defines the config flag of the DRNG instanceID. CfgDRNGCustomInstanceID = "drng.custom.instanceId" // CfgDRNGCustomThreshold defines the config flag of the DRNG threshold. CfgDRNGCustomThreshold = "drng.custom.threshold" // CfgDRNGCustomDistributedPubKey defines the config flag of the DRNG distributed Public Key. CfgDRNGCustomDistributedPubKey = "drng.custom.distributedPubKey" // CfgDRNGCustomCommitteeMembers defines the config flag of the DRNG committee members identities. CfgDRNGCustomCommitteeMembers = "drng.custom.committeeMembers" )
View Source
const PluginName = "DRNG"
PluginName is the name of the DRNG plugin.
Variables ¶
View Source
var ( // ErrParsingCommitteeMember is returned for an invalid committee member ErrParsingCommitteeMember = errors.New("cannot parse committee member") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.