lmerkleroot

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2018 License: BSD-2-Clause Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockMerkleBranch

func BlockMerkleBranch(txs []*tx.Tx, position uint32) []util.Hash

func BlockMerkleRoot

func BlockMerkleRoot(txs []*tx.Tx, mutated *bool) util.Hash

func ComputeMerkleBranch

func ComputeMerkleBranch(leaves []util.Hash, position uint32) []util.Hash

func ComputeMerkleRoot

func ComputeMerkleRoot(leaves []util.Hash, mutated *bool) util.Hash

func ComputeMerkleRootFromBranch

func ComputeMerkleRootFromBranch(leaf *util.Hash, branch []util.Hash, index uint32) util.Hash

func HashMerkleBranches

func HashMerkleBranches(left *util.Hash, right *util.Hash) *util.Hash

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL