Skip to content

2. Function signature and Implementation

Yves Hoebeke edited this page Jul 22, 2024 · 4 revisions

Signature

type Merkletree func(string, [][]byte, string, int) ([]byte, error)

Implementation

Install

go get github.com/yveshoebeke/merkletree

Import

import merkletree github.com/yveshoebeke/Merkletree

Execute

root, err := merkletree.DeriveRoot(data, algorithm, processType)

Clone this wiki locally