Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RewardAddress string Password string Proxy bool ProxyURL string PrimeURL string RegionURLs []string ZoneURLs [][]string Location common.Location RunBlake3 bool }
Config holds the configuration parameters for quai-manager
func LoadConfig ¶
LoadConfig reads configuration from file or environment variables.
type MinerSession ¶
func NewMinerConn ¶
func NewMinerConn(endpoint string) (*MinerSession, error)
func (*MinerSession) ListenTCP ¶
func (miner *MinerSession) ListenTCP(updateCh chan *types.Header) error
Reads raw data from TCP connection expecting a header to unmarshal. Puts received header into updateCh.
func (*MinerSession) SendTCPRequest ¶
func (ms *MinerSession) SendTCPRequest(msg jsonrpc.Request) error
Click to show internal directories.
Click to hide internal directories.