committee_systemcontract

package
v1.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2020 License: MIT Imports: 16 Imported by: 0

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 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL