Class UncheckedListProofAdapter

    • Constructor Detail

      • UncheckedListProofAdapter

        public UncheckedListProofAdapter​(ListProofNode rootNode,
                                         long length)
        Creates UncheckedListProofAdapter for convenient usage of ListProof interfaces.

        UncheckedListProofAdapter check() method will return CheckedListProof containing results of list proof verification.

        Parameters:
        rootNode - the root node of the proof tree
        length - the length of the corresponding index (needed for index hash calculation)