Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMerkleRootHash ¶
Returns the merkle root hash of the list of inputs
If there are no inputs a empty slice is returned, otherwise the merkle root is generated recursively
func MerkleRootHashOf ¶
MerkleRootHashCompare determines if the merkle-root hash is the merkle root of the array of hashes
Types ¶
type SHA256Hash ¶
type SHA256Hash struct {
SecureHash []byte
}
func (SHA256Hash) Equals ¶
func (hash SHA256Hash) Equals(bSlice []byte) bool
Equals returns true if the SHA256 hash is the hash of the given byte slice, false otherwise
Click to show internal directories.
Click to hide internal directories.