Documentation ¶
Index ¶
Constants ¶
View Source
const HashLen = 32
HashLen is the ledger default output hash length in bytes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hash ¶
Hash is the hash type used in all ledger
var DummyHash Hash
DummyHash is an arbitrary hash value, used in function errors. DummyHash represents a valid hash value.
func HashInterNode ¶
HashInterNode returns the hash value for intermediate nodes. hash1 and hash2 are fixed-length byte arrays which should be holding exactly 32 bytes each.
Click to show internal directories.
Click to hide internal directories.