Versions in this module Expand all Collapse all v0 v0.0.8 Jun 3, 2020 Changes in this version type ID + func (id *ID) BigInt() *big.Int v0.0.7 Mar 18, 2020 Changes in this version + var TypeBJP0 = [2]byte + func CalculateChecksum(typ [2]byte, genesis [27]byte) [2]byte + func CheckChecksum(id ID) bool + func DecomposeID(id ID) ([2]byte, [27]byte, [2]byte, error) + func IdenState(clr *merkletree.Hash, rer *merkletree.Hash, ror *merkletree.Hash) *merkletree.Hash + type ID [31]byte + func IDFromBytes(b []byte) (ID, error) + func IDFromString(s string) (ID, error) + func IdGenesisFromIdenState(hash *merkletree.Hash) *ID + func NewID(typ [2]byte, genesis [27]byte) ID + func (id *ID) Bytes() []byte + func (id *ID) String() string + func (id *ID) UnmarshalText(b []byte) error + func (id ID) MarshalText() ([]byte, error) + func (id1 *ID) Equal(id2 *ID) bool + func (id1 *ID) Equals(id2 *ID) bool