Versions in this module Expand all Collapse all v1 v1.1.3 Feb 13, 2020 Changes in this version + const Ada + const Babbage + const BloomBitsBlocks + const BloomBitsBlocksClient + const BloomConfirms + const BloomTrieFrequency + const Bn256AddGas + const Bn256PairingBaseGas + const Bn256PairingPerPointGas + const Bn256ScalarMulGas + const CHTFrequencyClient + const CHTFrequencyServer + const CallCreateDepth + const CallGas + const CallNewAccountGas + const CallStipend + const CallValueTransferGas + const CopyGas + const Create2Gas + const CreateDataGas + const CreateGas + const Douglas + const EcrecoverGas + const Einstein + const EpochDuration + const Ether + const ExpByteGas + const ExpGas + const Finney + const FuzzModeDelay + const FuzzModeDrop + const GWei + const GasLimitBoundDivisor + const GenesisGasLimit + const HelperTrieConfirmations + const HelperTrieProcessConfirmations + const IdentityBaseGas + const IdentityPerWordGas + const JumpdestGas + const LogDataGas + const LogGas + const LogTopicGas + const MaxCodeSize + const MaximumExtraDataSize + const MemoryGas + const MinGasLimit + const ModExpQuadCoeffDiv + const NetSstoreCleanGas + const NetSstoreClearRefund + const NetSstoreDirtyGas + const NetSstoreInitGas + const NetSstoreNoopGas + const NetSstoreResetClearRefund + const NetSstoreResetRefund + const QuadCoeffDiv + const Ripemd160BaseGas + const Ripemd160PerWordGas + const Sha256BaseGas + const Sha256PerWordGas + const Sha3Gas + const Sha3WordGas + const Shannon + const SloadGas + const SstoreClearGas + const SstoreRefundGas + const SstoreResetGas + const SstoreSetGas + const StackLimit + const SuicideRefundGas + const Szabo + const TierStepGas + const TxDataNonZeroGas + const TxDataZeroGas + const TxGas + const TxGasContractCreation + const VersionMajor + const VersionMeta + const VersionMinor + const VersionPatch + const Wei + var AllMinervaProtocolChanges = &ChainConfig + var DefaultTBFTDir = ".tbft" + var DevnetBootnodes = []string + var DevnetChainConfig = &ChainConfig + var DifficultyBoundDivisor = big.NewInt(2) + var DifficultyPeriod = big.NewInt(144) + var DurationLimit = big.NewInt(600) + var ElectionFruitsThreshold uint64 = 100 + var ElectionPeriodNumber = big.NewInt(180) + var ElectionSwitchoverNumber = big.NewInt(9600) + var EmptyAddress = common.Address + var EmptyHash = common.Hash + var FastToFruitSpace = big.NewInt(1500) + var FruitBlockRatio = big.NewInt(600) + var FruitFreshness = big.NewInt(17) + var GasTableConstantinople = GasTable + var GasTableEIP150 = GasTable + var GasTableEIP158 = GasTable + var GasTableHomestead = GasTable + var GenesisDifficulty = big.NewInt(6000000) + var MainnetBootnodes = []string + var MainnetChainConfig = &ChainConfig + var MainnetGenesisHash = common.HexToHash("0x0c6e644fcbd396f7b235ecef44551c45afd9274e87cd77ec6e9778cf8bfb46fc") + var MainnetSnailGenesisHash = common.HexToHash("0xf82fd9c0c8a53474c9e40e4f1c0583a94609eaf88dae01a5496da459398485c6") + var MaximumCommitteeNumber = big.NewInt(50) + var MaximumFruits int = 600 + var MinTimeGap = big.NewInt(359) + var MinimumCommitteeNumber = 7 + var MinimumDifficulty = big.NewInt(2000000) + var MinimumFruitDifficulty = big.NewInt(2000) + var MinimumFruits int = 60 + var ProposalCommitteeNumber = 20 + var SnailConfirmInterval = big.NewInt(12) + var SnailMaximumRewardInterval = big.NewInt(20) + var SnailRewardInterval = big.NewInt(14) + var TargetGasLimit = GenesisGasLimit + var TestChainConfig = &ChainConfig + var TestnetBootnodes = []string + var TestnetChainConfig = &ChainConfig + var TestnetGenesisHash = common.HexToHash("0x4b82a68ebbf32f2e816754f2b50eda0ae2c0a71dd5f4e0ecd93ccbfb7dba00b8") + var TestnetSnailGenesisHash = common.HexToHash("0x4ab1748c057b744de202d6ebea64e8d3a0b2ec4c19abbc59e8639967b14b7c96") + var Version = func() string { ... }() + var VersionWithMeta = func() string { ... }() + func ArchiveVersion(gitCommit string) string + func VersionWithCommit(gitCommit string) string + type BaseConfig struct + FilterPeers bool + Moniker string + func DefaultBaseConfig() BaseConfig + func TestBaseConfig() BaseConfig + type BlockConfig struct + FastNumber *big.Int + SnailNumber *big.Int + type ChainConfig struct + ChainID *big.Int + Minerva *MinervaConfig + TIP3 *BlockConfig + TIP5 *BlockConfig + TIP9 *BlockConfig + func (c *ChainConfig) CheckCompatible(newcfg *ChainConfig, height uint64) *ConfigCompatError + func (c *ChainConfig) GasTable(num *big.Int) GasTable + func (c *ChainConfig) IsTIP3(num *big.Int) bool + func (c *ChainConfig) IsTIP5(num *big.Int) bool + func (c *ChainConfig) IsTIP9(num *big.Int) bool + func (c *ChainConfig) Rules(num *big.Int) Rules + func (c *ChainConfig) String() string + func (c *ChainConfig) UnmarshalJSON(input []byte) error + type ConfigCompatError struct + NewConfig *big.Int + RewindTo uint64 + StoredConfig *big.Int + What string + func (err *ConfigCompatError) Error() string + type ConsensusConfig struct + CreateEmptyBlocks bool + CreateEmptyBlocksInterval int + PeerGossipSleepDuration int + PeerQueryMaj23SleepDuration int + RootDir string + SkipTimeoutCommit bool + TimeoutCatchup int + TimeoutCommit int + TimeoutPrecommit int + TimeoutPrecommitDelta int + TimeoutPrevote int + TimeoutPrevoteDelta int + TimeoutPropose int + TimeoutProposeDelta int + WalPath string + func DefaultConsensusConfig() *ConsensusConfig + func TestConsensusConfig() *ConsensusConfig + func (cfg *ConsensusConfig) CatchupTime(t time.Time) time.Time + func (cfg *ConsensusConfig) Commit(t time.Time) time.Time + func (cfg *ConsensusConfig) EmptyBlocksInterval() time.Duration + func (cfg *ConsensusConfig) EmptyBlocksIntervalForPer(times int) time.Duration + func (cfg *ConsensusConfig) PeerGossipSleep() time.Duration + func (cfg *ConsensusConfig) PeerQueryMaj23Sleep() time.Duration + func (cfg *ConsensusConfig) Precommit(round int) time.Duration + func (cfg *ConsensusConfig) Prevote(round int) time.Duration + func (cfg *ConsensusConfig) Propose(round int) time.Duration + func (cfg *ConsensusConfig) SetWalFile(walFile string) + func (cfg *ConsensusConfig) WaitForEmptyBlocks(times int) bool + func (cfg *ConsensusConfig) WaitForTxs() bool + func (cfg *ConsensusConfig) WalFile() string + type FuzzConnConfig struct + MaxDelay time.Duration + Mode int + ProbDropConn float64 + ProbDropRW float64 + ProbSleep float64 + func DefaultFuzzConnConfig() *FuzzConnConfig + type GasTable struct + Balance uint64 + Calls uint64 + CreateBySuicide uint64 + ExpByte uint64 + ExtcodeCopy uint64 + ExtcodeHash uint64 + ExtcodeSize uint64 + SLoad uint64 + Suicide uint64 + type MinervaConfig struct + DurationLimit *big.Int + MinimumDifficulty *big.Int + MinimumFruitDifficulty *big.Int + func (c *MinervaConfig) String() string + func (c *MinervaConfig) UnmarshalJSON(input []byte) error + func (c MinervaConfig) MarshalJSON() ([]byte, error) + type P2PConfig struct + AddrBook string + AddrBookStrict bool + AllowDuplicateIP bool + DialTimeout time.Duration + ExternalAddress string + FlushThrottleTimeout int + HandshakeTimeout time.Duration + ListenAddress1 string + ListenAddress2 string + MaxNumPeers int + MaxPacketMsgPayloadSize int + PrivatePeerIDs string + RecvRate int64 + RootDir string + SendRate int64 + TestDialFail bool + TestFuzz bool + TestFuzzConfig *FuzzConnConfig + UPNP bool + func DefaultP2PConfig() *P2PConfig + func TestP2PConfig() *P2PConfig + func (cfg *P2PConfig) AddrBookFile() string + type Rules struct + ChainID *big.Int + IsTIP3 bool + type TbftConfig struct + Consensus *ConsensusConfig + P2P *P2PConfig + func DefaultConfig() *TbftConfig + func TestConfig() *TbftConfig + func (cfg *TbftConfig) SetRoot(root string) *TbftConfig