Documentation
¶
Index ¶
Constants ¶
View Source
const ( HashLength = common.HashLength AddressLength = common.AddressLength )
Re-export common types and constants
Variables ¶
View Source
var ( Big0 = common.Big0 Big1 = common.Big1 Big2 = common.Big2 Big3 = common.Big3 Big32 = common.Big32 Big256 = common.Big256 Big257 = common.Big257 )
Big integers
View Source
var ( BytesToHash = common.BytesToHash BigToHash = common.BigToHash HexToHash = common.HexToHash BytesToAddress = common.BytesToAddress BigToAddress = common.BigToAddress HexToAddress = common.HexToAddress IsHexAddress = common.IsHexAddress Hex2Bytes = common.Hex2Bytes FromHex = common.FromHex CopyBytes = common.CopyBytes LeftPadBytes = common.LeftPadBytes RightPadBytes = common.RightPadBytes TrimLeftZeroes = common.TrimLeftZeroes TrimRightZeroes = common.TrimRightZeroes Bytes2Hex = common.Bytes2Hex NewMixedcaseAddress = common.NewMixedcaseAddress LoadJSON = common.LoadJSON FileExist = common.FileExist AbsolutePath = common.AbsolutePath )
Common functions
View Source
var ( Encode = hexutil.Encode EncodeBig = hexutil.EncodeBig EncodeUint64 = hexutil.EncodeUint64 Decode = hexutil.Decode DecodeBig = hexutil.DecodeBig DecodeUint64 = hexutil.DecodeUint64 MustDecode = hexutil.MustDecode MustDecodeBig = hexutil.MustDecodeBig MustDecodeUint64 = hexutil.MustDecodeUint64 )
Hexutil exports
View Source
var ( BigPow = math.BigPow PaddedBigBytes = math.PaddedBigBytes ReadBits = math.ReadBits )
Math exports
View Source
var ( CompressBytes = bitutil.CompressBytes DecompressBytes = bitutil.DecompressBytes XORBytes = bitutil.XORBytes ANDBytes = bitutil.ANDBytes ORBytes = bitutil.ORBytes TestBytes = bitutil.TestBytes )
Bitutil exports
Functions ¶
Types ¶
type MixedcaseAddress ¶ added in v0.15.11
type MixedcaseAddress = common.MixedcaseAddress
Common types
type UnprefixedAddress ¶ added in v0.15.11
type UnprefixedAddress = common.UnprefixedAddress
Common types
Directories
¶
| Path | Synopsis |
|---|---|
|
Package accounts implements high level Ethereum account management.
|
Package accounts implements high level Ethereum account management. |
|
abi
Package abi implements the Ethereum ABI (Application Binary Interface).
|
Package abi implements the Ethereum ABI (Application Binary Interface). |
|
abi/bind
Package bind generates Ethereum contract Go bindings.
|
Package bind generates Ethereum contract Go bindings. |
|
keystore
Package keystore implements encrypted storage of secp256k1 private keys.
|
Package keystore implements encrypted storage of secp256k1 private keys. |
|
cmd
|
|
|
abigen
command
(c) 2023, Lux Industries, Inc.
|
(c) 2023, Lux Industries, Inc. |
|
utils
Package utils contains internal helper functions for go-ethereum commands.
|
Package utils contains internal helper functions for go-ethereum commands. |
|
Package common provides formatting utilities
|
Package common provides formatting utilities |
|
bitutil
Package bitutil provides wrapper types for go-ethereum's bitutil implementation
|
Package bitutil provides wrapper types for go-ethereum's bitutil implementation |
|
compiler
Package compiler provides compatibility layer for removed compiler functionality
|
Package compiler provides compatibility layer for removed compiler functionality |
|
hexutil
Package hexutil provides wrapper types for go-ethereum's hexutil implementation
|
Package hexutil provides wrapper types for go-ethereum's hexutil implementation |
|
lru
Package lru provides wrapper types for go-ethereum's lru implementation
|
Package lru provides wrapper types for go-ethereum's lru implementation |
|
math
Package math provides wrapper types for go-ethereum's math implementation
|
Package math provides wrapper types for go-ethereum's math implementation |
|
prque
Package prque provides wrapper types for go-ethereum's prque implementation
|
Package prque provides wrapper types for go-ethereum's prque implementation |
|
Package compat provides compatibility shims for functions removed from go-ethereum
|
Package compat provides compatibility shims for functions removed from go-ethereum |
|
Package consensus implements different Ethereum consensus engines.
|
Package consensus implements different Ethereum consensus engines. |
|
Package core implements the Ethereum consensus protocol.
|
Package core implements the Ethereum consensus protocol. |
|
bloombits
Package bloombits implements bloom filtering on batches of data.
|
Package bloombits implements bloom filtering on batches of data. |
|
extheader
Package extheader provides Lux-specific header extensions This wrapper allows us to add Lux-specific fields while maintaining compatibility with upstream ethereum types.
|
Package extheader provides Lux-specific header extensions This wrapper allows us to add Lux-specific fields while maintaining compatibility with upstream ethereum types. |
|
rawdb
Package rawdb contains a collection of low level database accessors.
|
Package rawdb contains a collection of low level database accessors. |
|
state
Package state provides a caching layer atop the Ethereum state trie.
|
Package state provides a caching layer atop the Ethereum state trie. |
|
state/snapshot
Package snapshot implements a journalled, dynamic state dump.
|
Package snapshot implements a journalled, dynamic state dump. |
|
tracing
Package tracing provides wrapper types for go-ethereum's tracing implementation
|
Package tracing provides wrapper types for go-ethereum's tracing implementation |
|
txpool/blobpool
Package blobpool implements the EIP-4844 blob transaction pool.
|
Package blobpool implements the EIP-4844 blob transaction pool. |
|
txpool/legacypool
Package legacypool implements the normal EVM execution transaction pool.
|
Package legacypool implements the normal EVM execution transaction pool. |
|
types
Package types provides type aliases to ethereum types This ensures compatibility with ethereum interfaces while allowing our own extensions
|
Package types provides type aliases to ethereum types This ensures compatibility with ethereum interfaces while allowing our own extensions |
|
vm
Package vm implements the Ethereum Virtual Machine.
|
Package vm implements the Ethereum Virtual Machine. |
|
vm/runtime
Package runtime provides a basic execution model for executing EVM code.
|
Package runtime provides a basic execution model for executing EVM code. |
|
Package crypto provides wrapper types for go-ethereum's crypto implementation
|
Package crypto provides wrapper types for go-ethereum's crypto implementation |
|
blake2b
Package blake2b provides wrapper types for go-ethereum's blake2b implementation
|
Package blake2b provides wrapper types for go-ethereum's blake2b implementation |
|
bn256
Package bn256 provides wrapper types for go-ethereum's bn256 implementation
|
Package bn256 provides wrapper types for go-ethereum's bn256 implementation |
|
kzg4844
Package kzg4844 provides wrapper types for go-ethereum's kzg4844 implementation
|
Package kzg4844 provides wrapper types for go-ethereum's kzg4844 implementation |
|
Package eth implements the Ethereum protocol.
|
Package eth implements the Ethereum protocol. |
|
filters
Package filters implements an ethereum filtering system for block, transactions and log events.
|
Package filters implements an ethereum filtering system for block, transactions and log events. |
|
tracers
Package tracers is a manager for transaction tracing engines.
|
Package tracers is a manager for transaction tracing engines. |
|
tracers/internal/tracetest
(c) 2023, Lux Industries, Inc.
|
(c) 2023, Lux Industries, Inc. |
|
tracers/js/internal/tracers
Package tracers contains the actual JavaScript tracer assets.
|
Package tracers contains the actual JavaScript tracer assets. |
|
Package ethclient provides a client for the Ethereum RPC API.
|
Package ethclient provides a client for the Ethereum RPC API. |
|
corethclient
Package gethclient provides an RPC client for geth-specific APIs.
|
Package gethclient provides an RPC client for geth-specific APIs. |
|
Package ethdb provides batch extensions
|
Package ethdb provides batch extensions |
|
leveldb
Package leveldb provides a wrapper for go-ethereum's leveldb implementation
|
Package leveldb provides a wrapper for go-ethereum's leveldb implementation |
|
memorydb
Package memorydb provides a wrapper for go-ethereum's memorydb implementation
|
Package memorydb provides a wrapper for go-ethereum's memorydb implementation |
|
pebble
Package pebble provides a wrapper for go-ethereum's pebble implementation
|
Package pebble provides a wrapper for go-ethereum's pebble implementation |
|
Package event provides wrapper types for go-ethereum's event system
|
Package event provides wrapper types for go-ethereum's event system |
|
Package interfaces provides type definitions for Lux-specific interfaces
|
Package interfaces provides type definitions for Lux-specific interfaces |
|
internal
|
|
|
debug
Package debug interfaces Go runtime debugging facilities.
|
Package debug interfaces Go runtime debugging facilities. |
|
ethapi
Package ethapi implements the general Ethereum API functions.
|
Package ethapi implements the general Ethereum API functions. |
|
luxcache
Package luxcache provides backward compatibility types for cache that were present in older Lux versions
|
Package luxcache provides backward compatibility types for cache that were present in older Lux versions |
|
reexec
This file originates from Docker/Moby, https://github.com/moby/moby/blob/master/pkg/reexec/reexec.go Licensed under Apache License 2.0: https://github.com/moby/moby/blob/master/LICENSE Copyright 2013-2018 Docker, Inc.
|
This file originates from Docker/Moby, https://github.com/moby/moby/blob/master/pkg/reexec/reexec.go Licensed under Apache License 2.0: https://github.com/moby/moby/blob/master/LICENSE Copyright 2013-2018 Docker, Inc. |
|
version
Package version implements reading of build version information.
|
Package version implements reading of build version information. |
|
Go port of Coda Hale's Metrics library
|
Go port of Coda Hale's Metrics library |
|
prometheus
(c) 2025 Lux Industries, Inc.
|
(c) 2025 Lux Industries, Inc. |
|
Package miner implements Ethereum block creation and mining.
|
Package miner implements Ethereum block creation and mining. |
|
evm/upgrade/acp176
ACP176 implements the fee logic specified here: https://github.com/lux-foundation/ACPs/blob/main/ACPs/176-dynamic-evm-gas-limit-and-price-discovery-updates/README.md
|
ACP176 implements the fee logic specified here: https://github.com/lux-foundation/ACPs/blob/main/ACPs/176-dynamic-evm-gas-limit-and-price-discovery-updates/README.md |
|
evm/upgrade/ap0
AP0 defines constants used during the initial network launch.
|
AP0 defines constants used during the initial network launch. |
|
evm/upgrade/ap1
AP1 defines constants used after the Apricot Phase 1 upgrade.
|
AP1 defines constants used after the Apricot Phase 1 upgrade. |
|
evm/upgrade/ap3
AP3 defines the dynamic fee window used after the Apricot Phase 3 upgrade.
|
AP3 defines the dynamic fee window used after the Apricot Phase 3 upgrade. |
|
evm/upgrade/ap4
AP4 implements the block gas cost logic activated by the Apricot Phase 4 upgrade.
|
AP4 implements the block gas cost logic activated by the Apricot Phase 4 upgrade. |
|
evm/upgrade/ap5
AP5 defines constants used after the Apricot Phase 5 upgrade.
|
AP5 defines constants used after the Apricot Phase 5 upgrade. |
|
evm/upgrade/cortina
Cortina defines constants used after the Cortina upgrade.
|
Cortina defines constants used after the Cortina upgrade. |
|
evm/upgrade/etna
Etna defines constants used after the Etna upgrade.
|
Etna defines constants used after the Etna upgrade. |
|
precompile
|
|
|
contract
Defines the interface for the configuration and execution of a precompile contract
|
Defines the interface for the configuration and execution of a precompile contract |
|
precompileconfig
Defines the stateless interface for unmarshalling an arbitrary config of a precompile
|
Defines the stateless interface for unmarshalling an arbitrary config of a precompile |
|
registry
Module to facilitate the registration of precompiles and their configuration.
|
Module to facilitate the registration of precompiles and their configuration. |
|
Package rlp provides wrapper types for go-ethereum's rlp implementation
|
Package rlp provides wrapper types for go-ethereum's rlp implementation |
|
Package rpc implements bi-directional JSON-RPC 2.0 on multiple transports.
|
Package rpc implements bi-directional JSON-RPC 2.0 on multiple transports. |
|
signer
|
|
|
sync
|
|
|
Package trie implements Merkle Patricia Tries.
|
Package trie implements Merkle Patricia Tries. |
|
aggregator
Package aggregator is a generated GoMock package.
|
Package aggregator is a generated GoMock package. |
|
warptest
warptest exposes common functionality for testing the warp package.
|
warptest exposes common functionality for testing the warp package. |
Click to show internal directories.
Click to hide internal directories.