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