Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxDatagramSize = 8192 * 3 UDP4MulticastAddress = "224.0.0.1:11049" BufferSize = 4096 )
Variables ¶
View Source
var F, E, W, I, D, T log.LevelPrinter = log.GetLogPrinterSet(subsystem)
Functions ¶
This section is empty.
Types ¶
type State ¶
State stores the state of the controller
func New ¶
func New( syncing *atomic.Bool, cfg *podopts.Config, stateCfg *state.Config, node *chainrpc.Node, connMgr chainrpc.ServerConnManager, mempoolUpdateChan qu.C, uuid uint64, killall qu.C, start, stop qu.C, ) (s *State, e error)
New creates a new controller
func (*State) GetMsgBlockTemplate ¶
func (s *State) GetMsgBlockTemplate(prev *block.Block, addr btcaddr.Address) (mbt *templates.Message, e error)
GetMsgBlockTemplate gets a Message building on given block paying to a given address
func (*State) GetNewAddressFromWallet ¶
GetNewAddressFromWallet gets a new address from the wallet if it is connected, or returns an error
Directories ¶
Path | Synopsis |
---|---|
Package hashrate is a message type for Simplebuffers generated by miners to broadcast an IP address, a count and version number and current height of mining work just completed.
|
Package hashrate is a message type for Simplebuffers generated by miners to broadcast an IP address, a count and version number and current height of mining work just completed. |
Click to show internal directories.
Click to hide internal directories.