Versions in this module Expand all Collapse all v0 v0.24.0 Nov 19, 2019 Changes in this version + const BlockAssemblerCodeHash + const HexStrPrefix + const ModeCustom + const ModeMainNet + const ModeTestNet + const OneCKBShannon + type HexStr struct + func NewHexStr(data []byte) *HexStr + func ParseHexStr(hexStr string) (*HexStr, error) + func (hs *HexStr) Append(a HexStr) *HexStr + func (hs *HexStr) AppendBytes(bin []byte) *HexStr + func (hs *HexStr) Bytes() []byte + func (hs *HexStr) Hex() string + func (hs *HexStr) Len() int + func (hs HexStr) ToHexUint64() (uint64, error) + type HexUint64 uint64 + func ParseHexUint64(str string) (*HexUint64, error) + func (hexNumber *HexUint64) UnmarshalJSON(data []byte) error + func (hexNumber HexUint64) BigEndianBytes(paddingBytes int) []byte + func (hexNumber HexUint64) Hex() string + func (hexNumber HexUint64) LittleEndianBytes(paddingBytes int) []byte + func (hexNumber HexUint64) LittleEndianString(paddingBytes int) string + func (hexNumber HexUint64) Uint64() uint64 + type Mode string