diff options
| author | Luke Dashjr <[email protected]> | 2016-09-08 07:17:33 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2016-10-04 20:30:10 +0000 |
| commit | 1880aeb0336324ed543c7d181c7b1509bc1cce7a (patch) | |
| tree | 1a9f1cb4e841d5c3256bea034ddb04343283e1e8 /src/qt/walletmodel.h | |
| parent | Merge pull request #7158 (diff) | |
| download | discoin-1880aeb0336324ed543c7d181c7b1509bc1cce7a.tar.xz discoin-1880aeb0336324ed543c7d181c7b1509bc1cce7a.zip | |
Qt: Get the private key for signing messages via WalletModel
Diffstat (limited to 'src/qt/walletmodel.h')
| -rw-r--r-- | src/qt/walletmodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index a5e877d81..f15e5fc6f 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -188,6 +188,7 @@ public: bool getPubKey(const CKeyID &address, CPubKey& vchPubKeyOut) const; bool havePrivKey(const CKeyID &address) const; + bool getPrivKey(const CKeyID &address, CKey& vchPrivKeyOut) const; void getOutputs(const std::vector<COutPoint>& vOutpoints, std::vector<COutput>& vOutputs); bool isSpent(const COutPoint& outpoint) const; void listCoins(std::map<QString, std::vector<COutput> >& mapCoins) const; |