# Functions
BigToHash sets byte representation of b to hash.
BytesToEvent converts bytes to event hash.
BytesToHash sets b to hash.
FakeEpoch gives fixed value of fake epoch for testing purpose.
FakeEvent generates random fake event hash with the same epoch for testing purpose.
FakeEvents generates random hashes of fake event with the same epoch for testing purpose.
FakeHash generates random fake hash for testing purpose.
FakePeer generates random fake peer id for testing purpose.
FromBytes converts bytes to hash.
GetEventName gets an optional human readable alias of event hash.
GetNodeName gets an optional human readable alias of node address.
HexToEventHash sets byte representation of s to hash.
HexToHash sets byte representation of s to hash.
NewEvents makes event hash slice.
NewEventsSet makes event hash index.
NewHashes makes hash slice.
NewHashesSet makes hash index.
Of returns hash of data.
SetEventName sets an optional human readable alias of event hash in log.
SetNodeName sets an optional human readable alias of node address in log.
# Constants
HashLength is the expected length of the hash.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Hash represents the 32 byte hash of arbitrary data.
No description provided by the author
No description provided by the author
No description provided by the author