Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/scriptpubkeyman.cpp
Show First 20 Lines • Show All 423 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
int64_t LegacyScriptPubKeyMan::GetTimeFirstKey() const { | int64_t LegacyScriptPubKeyMan::GetTimeFirstKey() const { | ||||
LOCK(cs_KeyStore); | LOCK(cs_KeyStore); | ||||
return nTimeFirstKey; | return nTimeFirstKey; | ||||
} | } | ||||
std::unique_ptr<SigningProvider> | std::unique_ptr<SigningProvider> | ||||
LegacyScriptPubKeyMan::GetSigningProvider(const CScript &script) const { | LegacyScriptPubKeyMan::GetSolvingProvider(const CScript &script) const { | ||||
return std::make_unique<LegacySigningProvider>(*this); | return std::make_unique<LegacySigningProvider>(*this); | ||||
} | } | ||||
bool LegacyScriptPubKeyMan::CanProvide(const CScript &script, | bool LegacyScriptPubKeyMan::CanProvide(const CScript &script, | ||||
SignatureData &sigdata) { | SignatureData &sigdata) { | ||||
if (IsMine(script) != ISMINE_NO) { | if (IsMine(script) != ISMINE_NO) { | ||||
// If it IsMine, we can always provide in some way | // If it IsMine, we can always provide in some way | ||||
return true; | return true; | ||||
▲ Show 20 Lines • Show All 1,077 Lines • Show Last 20 Lines |