merkle

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxRouteNumber = 32
)

Variables

This section is empty.

Functions

func ComputeMerkleRoot

func ComputeMerkleRoot(TdHash []common.Hash, pMutated *bool) common.Hash

ComputeMerkleRoot calculate Merkelgen based on the transaction hash list

func MerkleComputation

func MerkleComputation(TdHash []common.Hash, BranchPos uint32, pMutated *bool) (pRoot common.Hash, pBranch []common.Hash)

MerkleComputation Calculate RootHash and Hash path for specific leaf transactions based on the transaction hash list and leaf location.

Types

This section is empty.

Jump to

Keyboard shortcuts

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