Skip to content
Commit 49ae74b7 authored by Hernando Castano's avatar Hernando Castano Committed by Hernando Castano
Browse files

Verify Ancestry between Headers (#3963)

* Create module for checking ancestry proofs

* Use Vec of Headers instead of a HashMap

* Move the ancestry verification into the lib.rs file

* Change the proof format to exclude `child` and `ancestor` headers

* Add a testing function for building header chains

* Rename AncestorNotFound error to InvalidAncestryProof

* Use ancestor hash instead of header when verifying ancestry

* Clean up some stuff missed in the merge
parent 4836977d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment