Closed gertjaap closed 5 years ago
Refactored a couple of things:
Separated out the various proof types from crypto.go to make it a little cleaner (crypto.go was huge)
Made verifications methods on the proof (bulletproof and rangeproof pending), e.g:
proof, err := NewGSPFSProof(result, x) status, err := proof.Verify(result)
Restructured the code comments to be more aligned with godoc. The fact that proofs contain the Verify method also nicely groups all the proof types in the documentation as well.
Fixed various typos and a couple of code hygiene things
This PR is superseded by #9
Refactored a couple of things:
Separated out the various proof types from crypto.go to make it a little cleaner (crypto.go was huge)
Made verifications methods on the proof (bulletproof and rangeproof pending), e.g:
Restructured the code comments to be more aligned with godoc. The fact that proofs contain the Verify method also nicely groups all the proof types in the documentation as well.
Fixed various typos and a couple of code hygiene things