package
0.0.0-20200814122207-8f649d9ad1a2
Repository: https://github.com/0xpolygon/minimal.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
CreateBloom creates a new bloom filter from a set of receipts.
deriveChainId derives the chain id from the given v parameter.
No description provided by the author
ExtractIstanbulExtra extracts all values of the IstanbulExtra from the header.
Hex2Bytes returns the bytes represented by the hexadecimal string str.
IstanbulFilteredHeader returns a filtered header which some information (like seal, committed seals) are clean to fulfill the Istanbul hash rules.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EmptyRootHash is the root when there are no transactions.
EmptyUncleHash is the root when there are no uncles.
ErrInvalidIstanbulHeaderExtra is returned if the length of extra-data is less than 32 bytes.
IstanbulDigest represents a hash of "Istanbul practical byzantine fault tolerance" to identify whether the block is from Istanbul consensus engine.
Fixed number of extra-data bytes reserved for validator seal.
Fixed number of extra-data bytes reserved for validator vanity.
# Structs
No description provided by the author
No description provided by the author
Header represents a block header in the Ethereum blockchain.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
Big marshals/unmarshals as a JSON string with 0x prefix.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Uint64 marshals/unmarshals as a JSON string with 0x prefix.