Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 997 Lines • ▼ Show 20 Lines | public: | ||||
void Inventory(const uint256 &hash) override { | void Inventory(const uint256 &hash) override { | ||||
LOCK(cs_wallet); | LOCK(cs_wallet); | ||||
std::map<uint256, int>::iterator mi = mapRequestCount.find(hash); | std::map<uint256, int>::iterator mi = mapRequestCount.find(hash); | ||||
if (mi != mapRequestCount.end()) { | if (mi != mapRequestCount.end()) { | ||||
(*mi).second++; | (*mi).second++; | ||||
} | } | ||||
} | } | ||||
void GetScriptForMining(std::shared_ptr<CReserveScript> &script) override; | void GetScriptForMining(std::shared_ptr<CReserveScript> &script); | ||||
unsigned int GetKeyPoolSize() { | unsigned int GetKeyPoolSize() { | ||||
// setKeyPool | // setKeyPool | ||||
AssertLockHeld(cs_wallet); | AssertLockHeld(cs_wallet); | ||||
return setKeyPool.size(); | return setKeyPool.size(); | ||||
} | } | ||||
bool SetDefaultKey(const CPubKey &vchPubKey); | bool SetDefaultKey(const CPubKey &vchPubKey); | ||||
▲ Show 20 Lines • Show All 187 Lines • Show Last 20 Lines |