merkle

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: ISC Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateHashMerkleRoot

func CalculateHashMerkleRoot(transactions []*externalapi.DomainTransaction) *externalapi.DomainHash

CalculateHashMerkleRoot calculates the merkle root of a tree consisted of the given transaction hashes. See `merkleRoot` for more info.

func CalculateIDMerkleRoot

func CalculateIDMerkleRoot(transactions []*externalapi.DomainTransaction) *externalapi.DomainHash

CalculateIDMerkleRoot calculates the merkle root of a tree consisted of the given transaction IDs. See `merkleRoot` for more info.

Types

This section is empty.

Jump to

Keyboard shortcuts

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