protected:
EC_KEY* pkey;
bool fSet;
- bool fCompressedPubKey;
public:
bool IsNull() const;
bool IsCompressed() const;
- void SetCompressedPubKey();
+ void SetCompressedPubKey(bool fCompressed=true);
void MakeNewKey(bool fCompressed=true);
bool SetPrivKey(const CPrivKey& vchPrivKey);
bool SetSecret(const CSecret& vchSecret, bool fCompressed = true);