Documentation
¶
Index ¶
- func FeaturesToInt16(a []settings.Feature) []int16
- func MineBlock(version proto.BlockVersion, nxt proto.NxtConsensus, pair proto.KeyPair, ...) (*proto.Block, error)
- func ParseReward(s string) (int64, error)
- func Run(ctx context.Context, a types.Miner, s *scheduler.SchedulerImpl)
- type Constraints
- type Features
- type MicroblockMiner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FeaturesToInt16 ¶ added in v0.5.0
func ParseReward ¶ added in v0.5.0
Types ¶
type Constraints ¶
type Constraints struct {
MaxScriptRunsInBlock int
MaxScriptsComplexityInBlock int
ClassicAmountOfTxsInBlock int
MaxTxsSizeInBytes int
}
func DefaultConstraints ¶
func DefaultConstraints() Constraints
type Features ¶ added in v0.5.0
func ParseVoteFeatures ¶ added in v0.5.0
func ValidateFeaturesWithLock ¶ added in v0.5.0
type MicroblockMiner ¶
type MicroblockMiner struct {
// contains filtered or unexported fields
}
func NewMicroblockMiner ¶
Click to show internal directories.
Click to hide internal directories.