Do signature-s negation inside the tests

To avoid the need for libsecp256k1 to expose such functionality.
This commit is contained in:
Pieter Wuille
2014-11-05 10:53:59 -08:00
parent 5406f61373
commit f4e0aefadc
5 changed files with 52 additions and 7 deletions

View File

@@ -122,7 +122,7 @@ public:
CPubKey GetPubKey() const;
//! Create a DER-serialized signature.
bool Sign(const uint256& hash, std::vector<unsigned char>& vchSig, bool lowS = true) const;
bool Sign(const uint256& hash, std::vector<unsigned char>& vchSig) const;
/**
* Create a compact signature (65 bytes), which allows reconstructing the used public key.