diff options
Diffstat (limited to 'src/key.h')
-rw-r--r-- | src/key.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -269,6 +269,9 @@ public: // Load private key and check that public key matches. bool Load(CPrivKey &privkey, CPubKey &vchPubKey, bool fSkipCheck); + + // Check whether an element of a signature (r or s) is valid. + static bool CheckSignatureElement(const unsigned char *vch, int len, bool half); }; struct CExtPubKey { |