/** @file ***************************************************************************** Declaration of interfaces for the class CoinCommitment. ***************************************************************************** * @author This file is part of libzerocash, developed by the Zerocash * project and contributors (see AUTHORS). * @copyright MIT license (see LICENSE file) *****************************************************************************/ #ifndef COINCOMMITMENT_H_ #define COINCOMMITMENT_H_ #include namespace libzerocash { /****************************** Coin commitment ******************************/ class CoinCommitment { friend class PourTransaction; friend class PourProver; public: CoinCommitment(); CoinCommitment(const std::vector& val, const std::vector& k); const std::vector& getCommitmentValue() const; bool operator==(const CoinCommitment& rhs) const; bool operator!=(const CoinCommitment& rhs) const; private: std::vector commitmentValue; }; } /* namespace libzerocash */ #endif /* COINCOMMITMENT_H_ */