5 #ifndef PIVX_LIBZEROCOIN_COINRANDOMNESSSCHNORRSIGNATURE_H
6 #define PIVX_LIBZEROCOIN_COINRANDOMNESSSCHNORRSIGNATURE_H
PublicCoin class for the Zerocoin library.
A Schnorr Signature on the hash of metadata attesting that the signer knows the randomness v necessar...
SERIALIZE_METHODS(CoinRandomnessSchnorrSignature, obj)
CoinRandomnessSchnorrSignature(Stream &strm)
CoinRandomnessSchnorrSignature()
bool Verify(const ZerocoinParams *zcparams, const CBigNum &S, const CBigNum &C, const uint256 msghash) const
Verifies the Schnorr signature on message msghash with public key pk = Cg^-S mod p.
#define S(x0, x1, x2, x3, cb, r)
Parameter classes for Zerocoin.