add support tari-randomx
This commit is contained in:
@@ -75,6 +75,22 @@ type Sha3xStratumJob struct {
|
||||
U64target uint64 `json:"u64target, omitempty"`
|
||||
}
|
||||
|
||||
type RandomxTStratumJob struct {
|
||||
Header string `json:"header, omitempty"`
|
||||
NBits string `json:"nBits, omitempty"`
|
||||
Id uint64 `json:"id, omitempty"`
|
||||
CurTime uint64 `json:"timestamp, omitempty"`
|
||||
Target string `json:"target, omitempty"`
|
||||
Height uint32 `json:"height, omitempty"`
|
||||
Nonce string `json:"nonce, omitempty"`
|
||||
Extranonce1 string `json:"extranonce1, omitempty"`
|
||||
Extranonce2_size uint64 `json:"extranonce2_size, omitempty"`
|
||||
Extranonce2 string `json:"extranonce2, omitempty"`
|
||||
JobDifficulty float64 `json:"diff, omitempty"`
|
||||
U64target uint64 `json:"u64target, omitempty"`
|
||||
SeedHash string `json:"seedhash, omitempty"`
|
||||
}
|
||||
|
||||
type BlockSha3xMsg struct {
|
||||
Id uint64 `json:"id"`
|
||||
User string `json:"user"`
|
||||
|
||||
Reference in New Issue
Block a user