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 BlockGenerator ¶
type BlockGenerator struct {
// contains filtered or unexported fields
}
func NewChainBlockGenerator ¶
func NewChainBlockGenerator(stateInfo StateProvider) *BlockGenerator
func (*BlockGenerator) AcceptBlock ¶
func (c *BlockGenerator) AcceptBlock(wire.BlockHeader) error
func (*BlockGenerator) NewBlockHeader ¶
func (*BlockGenerator) ValidateBlock ¶
func (c *BlockGenerator) ValidateBlock(wire.BlockHeader) error
type StateProvider ¶
Click to show internal directories.
Click to hide internal directories.