Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

v4 source realm

Package maintenance resolves milestones with a configurable reviewer quorum.

Overview

Package maintenance resolves milestones with a configurable reviewer quorum.

Functions 12

func Configure

crossing Action
1func Configure(cur realm, programID int64, lane string, coordinator address, reviewersCSV string, quorum int)
source

func ResolveDeadlock

crossing Action
1func ResolveDeadlock(cur realm, programID int64, lane string, itemID int64)
source

ResolveDeadlock releases an open milestone when neither decision can reach quorum.

func SubmitMilestone

crossing Action
1func SubmitMilestone(cur realm, programID int64, lane string, recipient address, amount, holdBlocks int64, proofDigest, memo string) (int64, int64)
source

func Vote

crossing Action
1func Vote(cur realm, programID int64, lane string, itemID int64, evidence string, approve bool) string
source

Types 2

type MilestoneView

struct
1type MilestoneView struct {
2	Evidence    string
3	Votes       []string
4	Voters      []address
5	Reservation treasury.ReservationView
6	Pruned      bool
7}
source

type Roles

struct
1type Roles struct {
2	Lane        string
3	Coordinator address
4	Reviewers   []address
5	Quorum      int
6}
source

Dependencies

Source Files 2