powergate: github.com/textileio/powergate/index/faults Index | Files | Directories

package faults

import "github.com/textileio/powergate/index/faults"

Index

Package Files

types.go

type Faults Uses

type Faults struct {
    Epochs []int64
}

Faults contains epochs where a fault was detected for a miner.

type IndexSnapshot Uses

type IndexSnapshot struct {
    TipSetKey string
    Miners    map[string]Faults
}

IndexSnapshot contains faults histoy information up-to a TipSetKey.

type Module Uses

type Module interface {
    Get() IndexSnapshot
    Listen() <-chan struct{}
    Unregister(c chan struct{})
}

Module provides faults information about the Filecoin network.

Directories

PathSynopsis
module
rpc

Package faults is imported by 11 packages. Updated 2020-09-21. Refresh now. Tools for package owners.