Documentation ¶
Index ¶
Constants ¶
View Source
const ( NotCalcNonce = 0 CalcNonceDone = 1 CalcNonceEnd = 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Miner ¶
func (*Miner) SendMessageToMiner ¶
type MinerRequest ¶
type MinerRequest struct { Method string `json:"method"` Params []interface{} `json:"params"` }
type PowPayload ¶
type XrpMintServer ¶
type XrpMintServer struct {
// contains filtered or unexported fields
}
func (*XrpMintServer) AddMiner ¶
func (xrp *XrpMintServer) AddMiner(miner *Miner)
func (*XrpMintServer) ListenTcp ¶
func (xrp *XrpMintServer) ListenTcp()
func (*XrpMintServer) NotifyMiner ¶
func (xrp *XrpMintServer) NotifyMiner(trxid string, diff uint32, nonceReport chan uint64, rebuildTrx chan bool)
Click to show internal directories.
Click to hide internal directories.