Versions in this module Expand all Collapse all v1 v1.9.25 Mar 25, 2021 v1.9.24 Mar 24, 2021 Changes in this version + var AveragingInterval int64 = 10 + var AveragingTargetTimespan = TargetTimePerBlock * AveragingInterval + var D logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var E logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var ErrDuplicateNet = errors.New("duplicate Bitcoin network") + var ErrUnknownHDKeyID = errors.New("unknown hd private extended key bytes") + var F logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var I logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var Interval int64 = 100 + var MainNetParams = Params + var MainPowLimit = mainPowLimit + var MainPowLimitBits = BigToCompact(&MainPowLimit) + var MaxAdjustDown int64 = 10 + var MaxAdjustUp int64 = 20 + var RegressionTestParams = Params + var ScryptPowLimit = scryptPowLimit + var ScryptPowLimitBits = BigToCompact(&scryptPowLimit) + var SimNetParams = Params + var T logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var TargetTimePerBlock int64 = 300 + var TargetTimespan = Interval * TargetTimePerBlock + var TestNet3Params = Params + var TestnetAveragingInterval int64 = 1600 + var TestnetAveragingTargetTimespan = TestnetTargetTimePerBlock * TestnetAveragingInterval + var TestnetInterval int64 = 100 + var TestnetMaxAdjustDown int64 = 10 + var TestnetMaxAdjustUp int64 = 20 + var TestnetTargetTimePerBlock int64 = 9 + var TestnetTargetTimespan = TestnetInterval * TestnetTargetTimePerBlock + var W logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + func BigToCompact(n *big.Int) uint32 + func CompactToBig(compact uint32) *big.Int + 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) (e error) + type Checkpoint struct + Hash *chainhash.Hash + Height int32 + type DNSSeed struct + HasFiltering bool + Host string + func (d DNSSeed) String() string + type Params struct + AveragingInterval int64 + AveragingTargetTimespan int64 + Checkpoints []Checkpoint + CoinbaseMaturity uint16 + DNSSeeds []DNSSeed + DefaultPort string + GenerateSupported bool + GenesisBlock *wire.Block + GenesisHash *chainhash.Hash + HDCoinType uint32 + HDPrivateKeyID [4]byte + HDPublicKeyID [4]byte + Interval int64 + MaxActualTimespan int64 + MaxAdjustDown int64 + MaxAdjustUp int64 + MinActualTimespan int64 + MinDiffReductionTime time.Duration + MinerConfirmationWindow uint32 + Name string + Net wire.BitcoinNet + PowLimit *big.Int + PowLimitBits uint32 + PrivateKeyID byte + PubKeyHashAddrID byte + RPCClientPort string + ReduceMinDifficulty bool + RelayNonStdTxs bool + RetargetAdjustmentFactor int64 + RuleChangeActivationThreshold uint32 + ScriptHashAddrID byte + ScryptPowLimit *big.Int + ScryptPowLimitBits uint32 + SubsidyReductionInterval int32 + TargetTimePerBlock int64 + TargetTimespan int64 + TargetTimespanAdjDown int64 + WalletRPCServerPort string