package
3.0.0-alpha5+incompatible
Repository: https://github.com/erigontech/erigon.git
Documentation: pkg.go.dev
# Packages
Package bitutil implements fast bitwise operations.
No description provided by the author
Package compiler wraps the Solidity and Vyper compiler executables (solc; vyper).
No description provided by the author
No description provided by the author
No description provided by the author
Package math provides integer math utilities.
Package mclock is a wrapper for a monotonic clock source.
No description provided by the author
Package prque implements a priority queue data structure supporting arbitrary value types and int64 priorities.
No description provided by the author
# Functions
Bytes2Hex returns the hexadecimal encoding of d.
FromHex returns the bytes represented by the hexadecimal string s.
No description provided by the author
LeftPadBytes zero-pads slice to the left up to length l.
LoadJSON reads the given file and unmarshals its content.
MakeName creates a node name that follows the ethereum convention for such names.
NewMixedcaseAddress constructor (mainly for testing).
NewMixedcaseAddressFromString is mainly meant for unit-testing.
No description provided by the author
RandomizeDuration - periodic parallel actions may interfere and resonance.
RightPadBytes zero-pads slice to the right up to length l.
TrimLeftZeroes returns a subslice of s without leading zeroes.
TrimRightZeroes returns a subslice of s without trailing zeroes.
# Constants
BlockNumberLength length of uint64 big endian.
IncarnationLength length of uint64 for contract incarnations.
No description provided by the author
# Structs
MixedcaseAddress retains the original string, which may or may not be correctly checksummed.
No description provided by the author
Tuples, eg [(index, bucket, key, value)].
# Type aliases
Addresses is a slice of libcommon.Address, implementing sort.Interface.
Hashes is a slice of libcommon.Hash, implementing sort.Interface.
Counter.
StorageKey is representation of address of a contract storage item It consists of two parts, each of which are 32-byte hashes: 1.
StorageKeys is a slice of StorageKey, implementing sort.Interface.
StorageSize is a wrapper around a float value that supports user friendly formatting.
UnprefixedAddress allows marshaling an Address without 0x prefix.
UnprefixedHash allows marshaling a Hash without 0x prefix.