HexString represents string starts with "0x" and followed by even number(including empty) of [0-9a-fA-F] characters.
Hexadecimal represents string starts with "0x" and followed by any number(excluding empty) of [0-9a-fA-F] characters.
generate absolute-epoch-number format since
generate header epoch from epoch since value
return maximum since of args
sinces in absolute-epoch-number format
Will throw an error if since not in absolute-epoch-number format
parse epoch from blockHeader.epoch
Parse since and get relative or not, type, and value of since
convert BigUInt64 little-endian hex string to bigint
BigUInt128 little-endian hex string
convert BigUInt64 little-endian hex string to bigint
BigUInt64 little-endian hex string
convert bigint to BigUInt128 little-endian hex string
Will throw an error if since not in absolute-epoch-number format
Compare since with tipHeader, check since is valid or not.
Generated using TypeDoc
@ckb-lumos/base
Base data structures and utilities used in lumos.