X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fkey.h;h=2d8e61850f1d77e041e36c8b2e26bc1980f0dd0f;hb=15e9a03687e99d6b1a7a90e56e69a37faa6bb9b8;hp=bf1557afb123e677fd4126b074f787a4181e0715;hpb=5f3f7465db4444e49dd4a896f88c090b40d0a303;p=novacoin.git diff --git a/src/key.h b/src/key.h index bf1557a..2d8e618 100644 --- a/src/key.h +++ b/src/key.h @@ -224,6 +224,7 @@ public: pubKeyL = mpk.pubKeyL; pubKeyH = mpk.pubKeyH; } + CMalleablePubKey(const std::vector &vchPubKeyPair) { setvch(vchPubKeyPair); } CMalleablePubKey(const std::string& strMalleablePubKey) { SetString(strMalleablePubKey); } CMalleablePubKey(const CPubKey &pubKeyInL, const CPubKey &pubKeyInH) : pubKeyL(pubKeyInL), pubKeyH(pubKeyInH) { } @@ -251,6 +252,7 @@ public: return pubKeyL.GetID(); } + bool setvch(const std::vector &vchPubKeyPair); std::vector Raw() const; CPubKey& GetL() { return pubKeyL; }