Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconBlockCandidate ¶
type BeaconBlockCandidate struct {
Candidate *jaxjson.GetBlockTemplateResult
}
type BitcoinBlockCandidate ¶ added in v0.2.0
type BitcoinBlockCandidate struct {
Candidate *btcdjson.GetBlockTemplateResult
}
type ShardBlockCandidate ¶
type ShardBlockCandidate struct { ShardID common.ShardID Candidate *jaxjson.GetBlockTemplateResult }
type StratumUpdateBlock ¶ added in v0.2.0
type StratumUpdateBlock struct {
ChainID int64
}
StratumUpdateBlock handles stratum server mining.update_block method and triggers fetching next block candidate for a specified chain. -1 for Bitcoin, 0 for Beacon and 1 and more for shard chains.
Click to show internal directories.
Click to hide internal directories.