Documentation
¶
Index ¶
- type Client
- func (c *Client) CollectBlocks(node types.MiningNode) error
- func (c *Client) FetchBlockIntervals(chain string) ([]time.Time, error)
- func (c *Client) FetchEarningIntervals(chain string) ([]time.Time, error)
- func (c *Client) FetchShareIntervals(chain string) ([]string, error)
- func (c *Client) ProcessBlocks(timestamp time.Time, node types.MiningNode) error
- func (c *Client) ProcessEarnings(timestamp time.Time, node types.MiningNode) error
- func (c *Client) ProcessPrices(chain string) error
- func (c *Client) ProcessShares(chain, interval string, node types.MiningNode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CollectBlocks ¶
func (c *Client) CollectBlocks(node types.MiningNode) error
func (*Client) FetchBlockIntervals ¶
func (*Client) FetchEarningIntervals ¶
func (*Client) FetchShareIntervals ¶
func (*Client) ProcessBlocks ¶
func (*Client) ProcessEarnings ¶
func (*Client) ProcessPrices ¶
func (*Client) ProcessShares ¶
func (c *Client) ProcessShares(chain, interval string, node types.MiningNode) error
Click to show internal directories.
Click to hide internal directories.