Versions in this module Expand all Collapse all v0 v0.0.1 May 24, 2021 Changes in this version + const DefinedDeployments + const DeploymentCSV + const DeploymentSegwit + 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 IsBech32SegwitPrefix(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 + Bech32HRPSegwit string + Checkpoints []Checkpoint + CoinbaseMaturity uint16 + DNSSeeds []DNSSeed + DefaultPort string + Deployments [DefinedDeployments]ConsensusDeployment + GenerateSupported bool + GenesisBlock *wire.MsgBlock + GenesisHash *chainhash.Hash + HDCoinType uint32 + HDPrivateKeyID [4]byte + HDPublicKeyID [4]byte + MinDiffReductionTime time.Duration + MinerConfirmationWindow uint32 + Name string + Net wire.BitcoinNet + PowLimit *big.Int + PowLimitBits uint32 + PrivateKeyID byte + PubKeyHashAddrID byte + ReduceMinDifficulty bool + RelayNonStdTxs bool + RetargetAdjustmentFactor int64 + RuleChangeActivationThreshold uint32 + ScriptHashAddrID byte + SubsidyReductionInterval int32 + TargetTimePerBlock time.Duration + TargetTimespan time.Duration + WitnessPubKeyHashAddrID byte + WitnessScriptHashAddrID byte