Documentation ¶
Index ¶
Constants ¶
View Source
const ( Bech32PrefixAccAddr = "htdf" Bech32PrefixAccPub = "htdfpub" Bech32PrefixValAddr = "htdfvaloper" Bech32PrefixValPub = "htdfvaloperpub" Bech32PrefixConsAddr = "htdfvalcons" Bech32PrefixConsPub = "htdfvalconspub" )
View Source
const ( DefaultMsgGas uint64 = 30000 // Per transaction not creating a contract. NOTE: Not payable on data of calls between transactions. DefaultMsgGasContractCreation uint64 = 60000 // Per transaction that creates a contract. NOTE: Not payable on data of calls between transactions. DefaultMinGasPrice = 100 //unit: satoshi DefaultTxGas = DefaultMsgGas )
evm gas estimation
View Source
const ( VersionMajor = 1 // Major version component of the current release VersionMinor = 0 // Minor version component of the current release VersionPatch = 1 // Patch version component of the current release VersionMeta = "" // Version metadata to append to the version string )
Variables ¶
View Source
var ( MainnetChainConfig = ¶ms.ChainConfig{ ChainID: big.NewInt(1), HomesteadBlock: big.NewInt(1), DAOForkBlock: big.NewInt(2), DAOForkSupport: true, EIP150Block: big.NewInt(3), EIP150Hash: common.HexToHash("0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0"), EIP155Block: big.NewInt(4), EIP158Block: big.NewInt(5), ByzantiumBlock: big.NewInt(6), } )
View Source
var Version = func() string { return fmt.Sprintf("%d.%d.%d", VersionMajor, VersionMinor, VersionPatch) }()
Version holds the textual version string.
View Source
var VersionWithMeta = func() string { v := Version if VersionMeta != "" { v += "-" + VersionMeta } return v }()
VersionWithMeta holds the textual version string including the metadata.
Functions ¶
func ArchiveVersion ¶
ArchiveVersion holds the textual version string used for Geth archives. e.g. "1.8.11-dea1ce05" for stable releases, or
"1.8.13-unstable-21c059b6" for unstable releases
func VersionWithCommit ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.