More work on proof of work.

This commit is contained in:
JoelKatz
2012-11-13 02:16:22 -08:00
parent d339eb8cad
commit 210170a2cb
2 changed files with 33 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ protected:
boost::mutex mLock;
public:
ProofOfWorkGenerator(const uint256& secret);
ProofOfWorkGenerator();
ProofOfWork getProof();
bool checkProof(const std::string& token, const uint256& solution);