Versions in this module Expand all Collapse all v1 v1.0.1 Dec 19, 2019 Changes in this version + const Ada + const Babbage + const BloomBitsBlocks + const Bn256AddGas + const Bn256PairingBaseGas + const Bn256PairingPerPointGas + const Bn256ScalarMulGas + const CallCreateDepth + const CallGas + const CallNewAccountGas + const CallStipend + const CallValueTransferGas + const CopyGas + const CreateDataGas + const CreateGas + const Douglas + const EcrecoverGas + const Einstein + const EpochDuration + const Ether + const ExpByteGas + const ExpGas + const Finney + const GasLimitBoundDivisor + const GenesisGasLimit + const IdentityBaseGas + const IdentityPerWordGas + const JumpdestGas + const LogDataGas + const LogGas + const LogTopicGas + const MaxCodeSize + const MaximumExtraDataSize + const MemoryGas + const MinGasLimit + const ModExpQuadCoeffDiv + 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 AllAlienProtocolChanges = &ChainConfig + var AllCliqueProtocolChanges = &ChainConfig + var AllEthashProtocolChanges = &ChainConfig + var DefaultSelfVoteValue = new(big.Int).Mul(big.NewInt(10), big.NewInt(1e+18)) + var DifficultyBoundDivisor = big.NewInt(2048) + var DiscoveryV5Bootnodes = []string + var DurationLimit = big.NewInt(13) + var GasTableEIP150 = GasTable + var GasTableEIP158 = GasTable + var GasTableHomestead = GasTable + var GenesisDifficulty = big.NewInt(131072) + var MainnetBootnodes = []string + var MainnetChainConfig = &ChainConfig + var MainnetGenesisHash = common.HexToHash("0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3") + var MinimumDifficulty = big.NewInt(131072) + var RinkebyBootnodes = []string + var RinkebyChainConfig = &ChainConfig + var SideDefaultBalance = new(big.Int).Mul(big.NewInt(2), DefaultSelfVoteValue) + var SideDifficulty = big.NewInt(17179869184) + var SideExtraData = hexutil.MustDecode(...) + var SideGasLimit uint64 = 50000000 + var SideNonce uint64 = 66 + var TargetGasLimit uint64 = GenesisGasLimit + var TestChainConfig = &ChainConfig + var TestRules = TestChainConfig.Rules(new(big.Int)) + var TestgiovChainConfig = &ChainConfig + var TestnetBootnodes = []string + var TestnetChainConfig = &ChainConfig + var TestnetGenesisHash = common.HexToHash("0x2ca8bccba480e6d6b261ef83a3ff871d3485f8afeaf930406a9f55079b7f2a89") + var UFOChainConfig = &ChainConfig + var Version = func() string { ... }() + func VersionWithCommit(gitCommit string) string + type AlienConfig struct + AppId string + Freeze uint64 + GenesisTimestamp uint64 + MCRPCClient *rpc.Client + MaxSignerCount uint64 + MinVoteValue *big.Int + Period uint64 + SelfVoteSigners []common.Address + SelfVoteValue *big.Int + SideChain bool + UnMine bool + func (c *AlienConfig) String() string + type ChainConfig struct + Alien *AlienConfig + AppId string + Author common.Address + BlockHash common.Hash + ByzantiumBlock *big.Int + ChainId *big.Int + Clique *CliqueConfig + ConstantinopleBlock *big.Int + EIP150Block *big.Int + EIP150Hash common.Hash + EIP155Block *big.Int + EIP158Block *big.Int + Ethash *EthashConfig + HomesteadBlock *big.Int + TxHash common.Hash + func (c *ChainConfig) CheckCompatible(newcfg *ChainConfig, height uint64) *ConfigCompatError + func (c *ChainConfig) GasTable(num *big.Int) GasTable + func (c *ChainConfig) IsByzantium(num *big.Int) bool + func (c *ChainConfig) IsConstantinople(num *big.Int) bool + func (c *ChainConfig) IsEIP150(num *big.Int) bool + func (c *ChainConfig) IsEIP155(num *big.Int) bool + func (c *ChainConfig) IsEIP158(num *big.Int) bool + func (c *ChainConfig) IsHomestead(num *big.Int) bool + func (c *ChainConfig) Rules(num *big.Int) Rules + func (c *ChainConfig) String() string + type CliqueConfig struct + Epoch uint64 + Period uint64 + func (c *CliqueConfig) String() string + type ConfigCompatError struct + NewConfig *big.Int + RewindTo uint64 + StoredConfig *big.Int + What string + func (err *ConfigCompatError) Error() string + type EthashConfig struct + func (c *EthashConfig) String() string + type GasTable struct + Balance uint64 + Calls uint64 + CreateBySuicide uint64 + ExpByte uint64 + ExtcodeCopy uint64 + ExtcodeSize uint64 + SLoad uint64 + Suicide uint64 + type Rules struct + ChainId *big.Int + IsByzantium bool + IsEIP150 bool + IsEIP155 bool + IsEIP158 bool + IsHomestead bool