merkle

package
v1.0.0-Testnet-1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: ISC Imports: 4 Imported by: 0

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