| 36 | } |
| 37 | |
| 38 | void |
| 39 | ComputeEntry(uint256& entry, const uint256 &hash, const std::vector<unsigned char>& vchSig, const CPubKey& pubkey) |
| 40 | { |
| 41 | CSHA256().Write(nonce.begin(), 32).Write(hash.begin(), 32).Write(&pubkey[0], pubkey.size()).Write(&vchSig[0], vchSig.size()).Finalize(entry.begin()); |
| 42 | } |
| 43 | |
| 44 | bool |
| 45 | Get(const uint256& entry, const bool erase) |