fabric-hash-calculator

command module
v0.0.0-...-9631177 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2018 License: MIT Imports: 5 Imported by: 0

README

Hyperledger Fabric block hash calculator

Used to calculate current block hash using previous block hash and current state hash (Merkle tree head).

Build

Note, use the Golang version compatible to build HL Fabric: http://hyperledger-fabric.readthedocs.io/en/release/dev-setup/devenv.html#prerequisites.

Then just run

[ -v GOPATH ] || export GOPATH=$HOME
go get github.com/denisglotov/fabric-hash-calculator

If you see the error about absence of ltdl.h file, install the missing package:

sudo apt install libltdl-dev

Then use the resulting binary at $GOPATH/bin.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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