diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-08-13 20:18:25 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2019-03-27 13:59:50 +0100 |
commit | 463921bb649d644f79f9d7f0f96f10aa0d165f76 (patch) | |
tree | 9965daf6e7b984d4435e390d2f5faf67e7644a1f /src/key.h | |
parent | 848ec5603f72e8ffc8063774fcf3ad7906c3676b (diff) |
CKey: add method to negate the key
Diffstat (limited to 'src/key.h')
-rw-r--r-- | src/key.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -98,6 +98,9 @@ public: //! Generate a new private key using a cryptographic PRNG. void MakeNewKey(bool fCompressed); + //! Negate private key + bool Negate(); + /** * Convert the private key to a CPrivKey (serialized OpenSSL private key data). * This is expensive. |