- binaryHash
immutable(Buffer) binaryHash(const(HashNet) net, const(ubyte[]) h1, const(ubyte[]) h2)
Undocumented in source.
- binaryHash
Fingerprint binaryHash(const(HashNet) net, const(Fingerprint) h1, const(Fingerprint) h2)
Undocumented in source. Be warned that the author may not have intended to support it.
- dartIndex
immutable(DARTIndex) dartIndex(const(HashNet) net, const(Document) doc)
immutable(DARTIndex) dartIndex(const(HashNet) net, T value)
Calculates the fingerprint used as an index for the DART
Handles the hashkey '#' and stub used in the DART
- dartKey
DARTIndex dartKey(const(HashNet) net, const(char[]) name, T val)
Undocumented in source. Be warned that the author may not have intended to support it.
- sparsed_merkletree
Buffer sparsed_merkletree(HashNet net, const(Buffer[]) table)
Calculates the sparsed Merkle root from the branch-table list
The size of the table must be KEY_SPAN
Leaves in the branch table which doen't exist should have the value null
- sparsed_merkletree
Fingerprint sparsed_merkletree(HashNet net, const(Fingerprint[]) table, Flag!"flat" flat)
Undocumented in source. Be warned that the author may not have intended to support it.
Basic fuinction and types used in the DART database