# Packages
Package rlp implements the RLP serialization format.
# Functions
BytesToHash sets b to hash.
ConvertAXCAmountToBCAmount can only be used to convert AXC decimal.
ConvertBCAmountToAXCAmount can only be used to convert AXC decimal.
No description provided by the author
DecodeUint64 decodes a hex string with 0x prefix as a quantity.
EncodeBig encodes bigint as a hex string with 0x prefix.
EncodeUint64 encodes i as a hex string with 0x prefix.
Keccak256 calculates and returns the Keccak256 hash of the input data.
SealHash returns the hash of a block prior to it being sealed.
UnmarshalFixedJSON decodes the input as a string with 0x prefix.
UnmarshalFixedText decodes the input as a string with 0x prefix.
UnmarshalFixedUnprefixedText decodes the input as a string with optional 0x prefix.
# Constants
AddressLength is the expected length of the address.
No description provided by the author
No description provided by the author
No description provided by the author
BloomByteLength represents the number of bytes used in a header log bloom.
HashLength is the expected length of the hash.
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
No description provided by the author
No description provided by the author
# Type aliases
Address represents the 20 byte address of an Ethereum account.
Big marshals/unmarshals as a JSON string with 0x prefix.
A BlockNonce is a 64-bit hash which proves (combined with the mix-hash) that a sufficient amount of computation has been carried out on a block.
Bloom represents a 2048 bit bloom filter.
Bytes marshals/unmarshals as a JSON string with 0x prefix.
Hash represents the 32 byte Keccak256 hash of arbitrary data.
Uint marshals/unmarshals as a JSON string with 0x prefix.
Uint64 marshals/unmarshals as a JSON string with 0x prefix.