nmt icon indicating copy to clipboard operation
nmt copied to clipboard

Feature Request: document nmt proof format

Open preston-evans98 opened this issue 2 years ago • 1 comments

Overview

Celestia-node now supports retrieving shares with proofs of inclusion 🎉.

Unfortunately, the format of the returned merkle proof doesn't seem to be documented anywhere, which makes it difficult to verify. I'd suggest adding documentation (maybe here) explaining the format of the proof (is the array of siblings generated by an inorder traversal? preorder? postorder?) and demonstrating how to verify it using the go implementation of the nmt.

preston-evans98 avatar Feb 01 '23 18:02 preston-evans98

related to https://github.com/celestiaorg/celestia-app/issues/1296

evan-forbes avatar Feb 01 '23 21:02 evan-forbes