Versions in this module Expand all Collapse all v0 v0.0.2 Feb 8, 2016 Changes in this version + var BlockOneLedgerMainNet = []*TokenPayout + var BlockOneLedgerSimNet = []*TokenPayout + var BlockOneLedgerTestNet = []*TokenPayout + var CPUMinerThreads = 1 + var ErrDuplicateNet = errors.New("duplicate Decred network") + var ErrUnknownHDKeyID = errors.New("unknown hd private extended key bytes") + var MainNetParams = Params + var SigHashOptimization = false + var SimNetParams = Params + var TestNetParams = Params + func HDPrivateKeyToPublicKeyID(id []byte) ([]byte, error) + func IsPKHEdwardsAddrID(id [2]byte) bool + func IsPKHSchnorrAddrID(id [2]byte) bool + func IsPubKeyAddrID(id [2]byte) bool + func IsPubKeyHashAddrID(id [2]byte) bool + func IsScriptHashAddrID(id [2]byte) bool + func Register(params *Params) error + type Checkpoint struct + Hash *chainhash.Hash + Height int64 + type Params struct + BaseSubsidy int64 + BlockOneLedger []*TokenPayout + BlockTaxProportion uint16 + Checkpoints []Checkpoint + CoinbaseMaturity uint16 + CurrentBlockVersion int32 + DefaultPort string + DivSubsidy int64 + GenerateSupported bool + GenesisBlock *wire.MsgBlock + GenesisHash *chainhash.Hash + HDCoinType uint32 + HDPrivateKeyID [4]byte + HDPublicKeyID [4]byte + MaxFreshStakePerBlock uint8 + MaximumBlockSize int + MinDiffResetTimeFactor time.Duration + MinimumStakeDiff int64 + MulSubsidy int64 + Name string + Net wire.CurrencyNet + NetworkAddressPrefix string + OrganizationAddress string + PKHEdwardsAddrID [2]byte + PKHSchnorrAddrID [2]byte + PowLimit *big.Int + PowLimitBits uint32 + PrivateKeyID [2]byte + PubKeyAddrID [2]byte + PubKeyHashAddrID [2]byte + ReductionInterval int64 + RelayNonStdTxs bool + ResetMinDifficulty bool + RetargetAdjustmentFactor int64 + SStxChangeMaturity uint16 + ScriptHashAddrID [2]byte + StakeBaseSigScript []byte + StakeDiffAlpha int64 + StakeDiffWindowSize int64 + StakeDiffWindows int64 + StakeEnabledHeight int64 + StakeRewardProportion uint16 + StakeValidationHeight int64 + TargetTimespan time.Duration + TicketExpiry uint32 + TicketMaturity uint16 + TicketPoolSize uint16 + TicketPoolSizeWeight uint16 + TicketsPerBlock uint16 + TimePerBlock time.Duration + WorkDiffAlpha int64 + WorkDiffWindowSize int64 + WorkDiffWindows int64 + WorkRewardProportion uint16 + func (p *Params) BlockOneSubsidy() int64 + func (p *Params) TotalSubsidyProportions() uint16 + type TokenPayout struct + Address string + Amount int64