Changeset View
Changeset View
Standalone View
Standalone View
src/script/sign.cpp
Show First 20 Lines • Show All 538 Lines • ▼ Show 20 Lines | |||||
void PSBTOutput::Merge(const PSBTOutput &output) { | void PSBTOutput::Merge(const PSBTOutput &output) { | ||||
hd_keypaths.insert(output.hd_keypaths.begin(), output.hd_keypaths.end()); | hd_keypaths.insert(output.hd_keypaths.begin(), output.hd_keypaths.end()); | ||||
unknown.insert(output.unknown.begin(), output.unknown.end()); | unknown.insert(output.unknown.begin(), output.unknown.end()); | ||||
if (redeem_script.empty() && !output.redeem_script.empty()) { | if (redeem_script.empty() && !output.redeem_script.empty()) { | ||||
redeem_script = output.redeem_script; | redeem_script = output.redeem_script; | ||||
} | } | ||||
} | } | ||||
bool PublicOnlySigningProvider::GetCScript(const CScriptID &scriptid, | |||||
CScript &script) const { | |||||
return m_provider->GetCScript(scriptid, script); | |||||
} | |||||
bool PublicOnlySigningProvider::GetPubKey(const CKeyID &address, | |||||
CPubKey &pubkey) const { | |||||
return m_provider->GetPubKey(address, pubkey); | |||||
} |