Versions in this module Expand all Collapse all v0 v0.0.1 Jun 23, 2020 Changes in this version + var B = func(s string) []byte + var ErrNotFound = errors.New("not found") + var H = hex.EncodeToString + func BlockNum(blockID string) uint32 + func BoolToByte(value bool) byte + func ByteToBool(value []byte) bool + func FromHexUint16(input string) (uint16, error) + func FromHexUint64(input string) (uint64, error) + func FromRevBlockNum64(input string) (uint64, error) + func HexName(name uint64) string + func HexRevBlockNum(blockNum uint32) string + func HexRevBlockNum64(blockNum uint64) string + func HexUint16(input uint16) string + func HexUint32(input uint32) string + func HexUint64(input uint64) string + func IncreaseBlockIDSuffix(blockID string) string + func MustProtoMarshal(obj proto.Message) []byte + func ReversedBlockID(blockID string) string + func ReversedUint16(input uint16) uint16 + func StringListToBytes(value []string, separator string) []byte + func Uint64ToBytes(value uint64) []byte + type BlockIdentifier string + func (i BlockIdentifier) ID() string + func (i BlockIdentifier) Num() (out uint64)