domain

package
v0.0.0-...-30b4086 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2024 License: ISC Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain interface {
	MiningManager() miningmanager.MiningManager
	Consensus() externalapi.Consensus
	StagingConsensus() externalapi.Consensus
	InitStagingConsensusWithoutGenesis() error
	CommitStagingConsensus() error
	DeleteStagingConsensus() error
	ConsensusEventsChannel() chan externalapi.ConsensusEvent
}

Domain provides a reference to the domain's external aps

func New

func New(consensusConfig *consensus.Config, mempoolConfig *mempool.Config, db infrastructuredatabase.Database) (Domain, error)

New instantiates a new instance of a Domain object

Directories

Path Synopsis
utils/txscript
Package txscript implements the kaspa transaction script language.
Package txscript implements the kaspa transaction script language.
Package dagconfig defines DAG configuration parameters.
Package dagconfig defines DAG configuration parameters.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL