types

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0, MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIEndpoint

type APIEndpoint multiaddr.Multiaddr

type CountWinners

type CountWinners struct {
	Miner         address.Address `json:"miner"`
	TotalWinCount int64           `json:"totalWinCount"`
	Msg           string          `json:"msg"`
	WinEpochList  []SimpleWinInfo `json:"winEpochList"`
}

type LogCids

type LogCids []cid.Cid

func (LogCids) MarshalLogArray

func (cids LogCids) MarshalLogArray(ae zapcore.ArrayEncoder) error

type MetadataDS

type MetadataDS datastore.Batching

MetadataDS stores metadata dy default it's namespaced under /metadata in main repo datastore

type MinerInfo

type MinerInfo struct {
	Addr       address.Address
	Id         string
	Name       string
	OpenMining bool
}

type MinerState

type MinerState struct {
	Addr     address.Address
	IsMining bool
	Err      []string
}

type NetworkName

type NetworkName string

type ShutdownChan

type ShutdownChan chan struct{}

ShutdownChan is a channel to which you send a value if you intend to shut down the daemon (or miner), including the node and RPC server.

type SimpleWinInfo

type SimpleWinInfo struct {
	Epoch    abi.ChainEpoch `json:"epoch"`
	WinCount int64          `json:"winCount"`
}

Jump to

Keyboard shortcuts

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