mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
Tie into PubKeyCache.
This commit is contained in:
6
Wallet.h
6
Wallet.h
@@ -18,7 +18,9 @@ public:
|
||||
//CKey mKey;
|
||||
//std::string mHumanAddress;
|
||||
NewcoinAddress mAddress;
|
||||
CKey mPublicKey, mPrivateKey;
|
||||
CKey::pointer mPublicKey;
|
||||
CKey mPrivateKey;
|
||||
uint160 acctID;
|
||||
int64 mAmount;
|
||||
uint32 mSeqNum;
|
||||
|
||||
@@ -27,7 +29,7 @@ public:
|
||||
bool signRaw(Serializer::pointer, std::vector<unsigned char>& signature);
|
||||
bool checkSignRaw(Serializer::pointer, int signaturePosition=-1, int signedData=-1);
|
||||
CKey& peekPrivKey() { return mPrivateKey; }
|
||||
CKey& peekPubKey() { return mPublicKey; }
|
||||
CKey::pointer peekPubKey() { return mPublicKey; }
|
||||
|
||||
uint160 getAddress(void) const { return mAddress.GetHash160(); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user