gottstech / gotts

A blockchain for non-collateralized stable-coins, follow MimbleWimble protocol but with explicit amount.
https://gotts.tech
Apache License 2.0
48 stars 4 forks source link

InputEx signature verification when spend SigLocked output #22

Closed garyyu closed 4 years ago

garyyu commented 4 years ago

To complete some remaining parts of PR: Non-Interactive Transaction feature:

And a mistake found on the siglocked_input build function, it was using ECDSA signature instead of the Schnorr signature, because of the confusing keychain.sign and keychain.verify function name which should be default using the Schnorr instead of ECDSA. (I will take care of this in another PR to refact the keychain module.)

Note: Because above mistake, this PR become a consensus breaking PR.