Documentation ¶
Index ¶
Constants ¶
View Source
const CONTRACT_NAME = "_Committee"
helpers for avoiding reliance on strings throughout the system
View Source
const METHOD_GET_ORDERED_COMMITTEE = "getOrderedCommittee" // used with election
View Source
const METHOD_GET_ORDERED_COMMITTEE_FOR_ADDRESSES = "getOrderedCommitteeForAddresses" // used before election or for testing
View Source
const METHOD_UPDATE_MISSES = "updateMisses"
View Source
const ReputationBottomCap = uint32(10)
View Source
const TRIGGER_CONTRACT = "_Triggers" // hard coded to avoid recursive import
View Source
const ToleranceLevel = uint32(4)
Variables ¶
View Source
var EVENTS = sdk.Export(CommitteeMemberMissed, CommitteeMemberClosedBlock)
View Source
var PUBLIC = sdk.Export(getOrderedCommittee, getOrderedCommitteeForAddresses, getReputation, getAllCommitteeReputations, getMisses, getAllCommitteeMisses, updateMisses)
View Source
var SYSTEM = sdk.Export(_init)
Functions ¶
func CommitteeMemberClosedBlock ¶
func CommitteeMemberClosedBlock(address []byte)
func CommitteeMemberMissed ¶
func CommitteeMemberMissed(address []byte)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.