# Packages
Package address.
Package crypto 、.
Package db :leveldb、 memdb、mvcc、badgerdb、pegasus、ssdb.
Package difficulty.
Package limits.
No description provided by the author
Package log.
Package merkle hash .
Package pubsub implements a simple multi-topic pub-sub library.
No description provided by the author
No description provided by the author
Package version.
Package vrf defines the interface to a verifiable random function.
# Functions
BytesToHash []byte -> hash.
CopyBytes Returns an exact copy of the provided bytes.
FromHex hex -> []byte.
GetNtpTime t2, t3, t1, t4delt = ((t2-t1)+(t3-t4))/2current = t4 + delt.
GetPointer.
GetRandBytes.
GetRandPrintString.
GetRandString.
GetRealTime.
GetRealTimeRetry.
HashHex []byte -> hex.
HexToHash hex -> hash.
IsHex hex.
MaxInt32 max.
MinInt32 min.
RemovePointer.
Rimp160 Returns hash: RIMP160( SHA256( data ) ) Where possible, using RimpHash() should be a bit faster.
Sha256.
Sha2Sum Returns hash: SHA256( SHA256( data ) ) Where possible, using ShaHash() should be a bit faster.
Sha3.
StorePointer int64.
ToHex []byte -> hex.
# Constants
Sha256Len sha256 bytes len.
# Type aliases
Hash type.