Documentation ¶
Overview ¶
Package miner is responsible for creating valid blocks that contain valid activation transactions and transactions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opt ¶ added in v1.0.0
type Opt func(h *ProposalBuilder)
Opt for configuring ProposalBuilder.
func WithLayerPerEpoch ¶ added in v1.0.0
WithLayerPerEpoch defines the number of layers per epoch.
func WithLayerSize ¶ added in v1.0.0
WithLayerSize defines the average number of proposal per layer.
func WithLogger ¶ added in v1.0.0
WithLogger defines the logger.
func WithMinGoodAtxPercent ¶ added in v1.2.2
func WithMinimalActiveSetWeight ¶ added in v1.0.0
func WithNetworkDelay ¶ added in v1.0.7
type ProposalBuilder ¶ added in v1.0.0
type ProposalBuilder struct {
// contains filtered or unexported fields
}
ProposalBuilder builds Proposals for a miner.
Click to show internal directories.
Click to hide internal directories.