utreexo icon indicating copy to clipboard operation
utreexo copied to clipboard

Change the proof verification functions to return errors instead of bools

Open kcalvinalvin opened this issue 4 years ago • 1 comments

It's hard to tell what the actual errors were because:

1: Error messages are vague 2: Some functions drop some details about errors (ex. IngestBatchProof() in pollardproof.go)

Changing these functions will help debugging easier

kcalvinalvin avatar Jan 09 '21 05:01 kcalvinalvin

Yup, I started doing this in my hashtoknown branch. Not everything yet but definitely agree.

adiabat avatar Jan 11 '21 13:01 adiabat