Documentation ¶
Index ¶
- func GenerateBlock(ctx context.Context, nodeInfo *Connection, network string, address string, ...) error
- func GenerateElementsDynafedBlock(ctx context.Context, nodeInfo *Connection, network string, fedpegScript string, ...) error
- type Connection
- type Generator
- func (g *Generator) GenerateBlock(ctx context.Context, address string, generateCount uint) error
- func (g *Generator) GenerateElementsDynafedBlock(ctx context.Context, fedpegScript string, pakEntries []string, ...) error
- func (g *Generator) WithCheckInitialBlockDownload(hasCheckInitialBlkDl bool) *Generator
- func (g *Generator) WithIgnoreEmptyMempool(ignoreEmptyMempool bool) *Generator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBlock ¶
Types ¶
type Connection ¶
type Generator ¶ added in v0.0.5
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶ added in v0.0.5
func NewGenerator( nodeInfo *Connection, network string, ) *Generator
func (*Generator) GenerateBlock ¶ added in v0.0.5
func (*Generator) GenerateElementsDynafedBlock ¶ added in v0.0.5
func (*Generator) WithCheckInitialBlockDownload ¶ added in v0.0.7
func (*Generator) WithIgnoreEmptyMempool ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.