Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/scriptpubkeyman.cpp
Show First 20 Lines • Show All 211 Lines • ▼ Show 20 Lines | bool LegacyScriptPubKeyMan::EncryptKeys(CKeyingMaterial &vMasterKeyIn) { | ||||
mapKeys.clear(); | mapKeys.clear(); | ||||
return true; | return true; | ||||
} | } | ||||
bool LegacyScriptPubKeyMan::GetReservedDestination(const OutputType type, | bool LegacyScriptPubKeyMan::GetReservedDestination(const OutputType type, | ||||
bool internal, | bool internal, | ||||
int64_t &index, | int64_t &index, | ||||
CKeyPool &keypool) { | CKeyPool &keypool) { | ||||
{ | |||||
if (!ReserveKeyFromKeyPool(index, keypool, internal)) { | if (!ReserveKeyFromKeyPool(index, keypool, internal)) { | ||||
return false; | return false; | ||||
} | } | ||||
} | |||||
return true; | return true; | ||||
} | } | ||||
void LegacyScriptPubKeyMan::KeepDestination(int64_t index) { | void LegacyScriptPubKeyMan::KeepDestination(int64_t index) { | ||||
KeepKey(index); | KeepKey(index); | ||||
} | } | ||||
void LegacyScriptPubKeyMan::ReturnDestination(int64_t index, bool internal, | void LegacyScriptPubKeyMan::ReturnDestination(int64_t index, bool internal, | ||||
▲ Show 20 Lines • Show All 1,200 Lines • Show Last 20 Lines |