events

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2022 License: ISC Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL