[x] InputEx signature verification when spend SigLocked output
[x] Signature Batch Verification
[x] Cache for InputEx verify
[x] Add some tests for InputEx signature verification
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.
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 confusingkeychain.sign
andkeychain.verify
function name which should be default using the Schnorr instead of ECDSA. (I will take care of this in another PR to refact thekeychain
module.)Note: Because above mistake, this PR become a
consensus breaking
PR.