# Functions
CalculateDocumentHash calculates the hash for a Document in a canonicalized manner.
EmptyHash returns a Hash that is empty (initialized with zeros).
GetPeerID constructs a PeerID given its remote address.
MakeConsistencyHash calculates a consistency hash for the given 2 input Hashes and returns it.
MarshalDocumentTime converts a document's time.Time to unix nanoseconds.
ParseHash parses the given input string as Hash.
SliceToHash converts a byte slice to a Hash, returning a copy.
UnmarshalDocumentTime converts a document's timestamp in unix nanoseconds to time.Time.
# Constants
HashSize holds the size of hashes used on the network.
# Structs
Document describes a document on the network.
DocumentDescriptor is just a Document with often-required properties added (HasContents indicator) to optimize access to the document storage.
NodeInfo describes a known remote node on the network.