go-merkle
go-merkle copied to clipboard
A fixed Merkle Tree implementation in Go
Currently there is no convenient method for extracting only the branch required to prove a given node. It would be nice to be able to specify a height and a...
panic: runtime error: index out of range goroutine 1 [running]: github.com/xsleonard/go-merkle.(*Tree).generateNodeLevel(0xc420057c10, 0xc4203fa390, 0x1, 0x1, 0xc4203fa390, 0x0, 0x0, 0x14678e0, 0xc4203be380, 0x0, ...) /Users/alex/Downloads/go_appengine/gopath/src/github.com/xsleonard/go-merkle/merkle.go:178 +0x306 github.com/xsleonard/go-merkle.(*Tree).Generate(0xc420057c10, 0xc42014a7a0, 0x1, 0x1, 0x14678e0, 0xc4203be380, 0x0,...