Versions in this module Expand all Collapse all v1 v1.0.0 Jun 11, 2019 Changes in this version + const DefinedDeployments + const DeploymentCSV + const DeploymentTestDummy + var ErrDuplicateNet = errors.New("duplicate Bitcoin network") + var ErrUnknownHDKeyID = errors.New("unknown hd private extended key bytes") + var MainNetParams = Params + var RegressionNetParams = Params + var SimNetParams = Params + var TestNet3Params = Params + func HDPrivateKeyToPublicKeyID(id []byte) ([]byte, error) + func IsCashAddressPrefix(prefix string) bool + func IsPubKeyHashAddrID(id byte) bool + func IsScriptHashAddrID(id byte) bool + func Register(params *Params) error + type Checkpoint struct + Hash *chainhash.Hash + Height int32 + type ConsensusDeployment struct + BitNumber uint8 + ExpireTime uint64 + StartTime uint64 + type DNSSeed struct + HasFiltering bool + Host string + func (d DNSSeed) String() string + type Params struct + BIP0034Height int32 + BIP0065Height int32 + BIP0066Height int32 + CashAddressPrefix string + Checkpoints []Checkpoint + CoinbaseMaturity uint16 + DNSSeeds []DNSSeed + DaaForkHeight int32 + DefaultPort string + Deployments [DefinedDeployments]ConsensusDeployment + GenerateSupported bool + GenesisBlock *wire.MsgBlock + GenesisHash *chainhash.Hash + GreatWallActivationTime uint64 + HDCoinType uint32 + HDPrivateKeyID [4]byte + HDPublicKeyID [4]byte + LegacyPubKeyHashAddrID byte + LegacyScriptHashAddrID byte + MinDiffReductionTime time.Duration + MinerConfirmationWindow uint32 + Name string + Net wire.BitcoinNet + NoDifficultyAdjustment bool + PowLimit *big.Int + PowLimitBits uint32 + PrivateKeyID byte + ReduceMinDifficulty bool + RelayNonStdTxs bool + RetargetAdjustmentFactor int64 + RuleChangeActivationThreshold uint32 + SubsidyReductionInterval int32 + TargetTimePerBlock time.Duration + TargetTimespan time.Duration + UahfForkHeight int32