void RippleAddress::signNodePrivate(const uint256& hash, std::vector<unsigned char>& vchSig) const { CKey ckPrivKey; ckPrivKey.SetPrivateKeyU(getNodePrivate()); if (!ckPrivKey.Sign(hash, vchSig)) throw std::runtime_error("Signing failed."); }
void RippleAddress::signNodePrivate (uint256 const& hash, Blob& vchSig) const { CKey ckPrivKey; ckPrivKey.SetPrivateKeyU (getNodePrivate ()); if (!ckPrivKey.Sign (hash, vchSig)) throw std::runtime_error ("Signing failed."); }