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.
Click to show internal directories.
Click to hide internal directories.