dcr

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: ISC Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoader

func NewLoader(cfg *LoaderConf) loader.AssetLoader

NewLoader constructs a DCR Loader.

Types

type LoaderConf

type LoaderConf struct {
	ChainParams             *chaincfg.Params
	DBDirPath               string
	StakeOptions            *StakeOptions
	GapLimit                uint32
	RelayFee                dcrutil.Amount
	AllowHighFees           bool
	DisableCoinTypeUpgrades bool
	ManualTickets           bool
	AccountGapLimit         int
	MixSplitLimit           int
	DBMutex                 *sync.Mutex
}

LoaderConf models the configuration options of a dcr loader.

type StakeOptions

type StakeOptions struct {
	VotingEnabled       bool
	AddressReuse        bool
	VotingAddress       stdaddr.StakeAddress
	PoolAddress         stdaddr.StakeAddress
	PoolFees            float64
	StakePoolColdExtKey string
}

StakeOptions contains the various options necessary for stake mining.

Jump to

Keyboard shortcuts

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