Documentation
¶
Overview ¶
Package cpuminer is a port(-ish) of the orginal cpuminer project, written by Jeff Garzik and pooler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
Credentials resolves the basic-auth pair for Core's RPC on each call. Core rewrites its cookie on every restart, so pinning a pair captured when mining started would 401 after the first restart.
func StaticCredentials ¶
func StaticCredentials(user, pass string) Credentials
StaticCredentials returns a resolver that always yields the same pair.
Click to show internal directories.
Click to hide internal directories.