Documentation ¶
Overview ¶
Copyright (c) 2020 The JaxNetwork developers Use of this source code is governed by an ISC license that can be found in the LICENSE file.
Copyright (c) 2020 The JaxNetwork developers Use of this source code is governed by an ISC license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BeaconBlockProvider ¶
type BlockGenerator ¶
type BlockGenerator struct {
// contains filtered or unexported fields
}
func NewChainBlockGenerator ¶
func NewChainBlockGenerator(beacon BeaconBlockProvider, mmr mmr2.IMountainRange) *BlockGenerator
func (*BlockGenerator) AcceptBlock ¶
func (c *BlockGenerator) AcceptBlock(blockHeader wire.BlockHeader) error
func (*BlockGenerator) NewBlockHeader ¶
func (*BlockGenerator) ValidateBlock ¶
func (c *BlockGenerator) ValidateBlock(header wire.BlockHeader) error
Click to show internal directories.
Click to hide internal directories.