mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
Merge #8774: Qt refactors to better abstract wallet access
178cd88Qt/splash: Specifically keep track of which wallet(s) we are connected to for later disconnecting (Luke Dashjr)1880aebQt: Get the private key for signing messages via WalletModel (Luke Dashjr)
This commit is contained in:
@@ -563,6 +563,11 @@ bool WalletModel::havePrivKey(const CKeyID &address) const
|
||||
return wallet->HaveKey(address);
|
||||
}
|
||||
|
||||
bool WalletModel::getPrivKey(const CKeyID &address, CKey& vchPrivKeyOut) const
|
||||
{
|
||||
return wallet->GetKey(address, vchPrivKeyOut);
|
||||
}
|
||||
|
||||
// returns a list of COutputs from COutPoints
|
||||
void WalletModel::getOutputs(const std::vector<COutPoint>& vOutpoints, std::vector<COutput>& vOutputs)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user