mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +00:00
Raw account class (address + public key) Account State class (account + balance + ledgers valid) Raw Hanko class Low-level tranasaction class Small wallet and key bits Misc updates to the protocol. Protocol addition to allow code to wait for replies, but that may not be a good idea.
18 lines
305 B
C++
18 lines
305 B
C++
#ifndef __ACCOUNT__
|
|
#define __ACCOUNT__
|
|
|
|
class Account
|
|
{
|
|
private:
|
|
uint160 mAddress;
|
|
CKey pubKey;
|
|
|
|
public:
|
|
|
|
bool CheckSignRaw(const std::vector<unsigned char> &toSign,
|
|
const std::vector<unsigned char> &signature) const;
|
|
const uint160& GetAddress(void) const { return mAddress; }
|
|
};
|
|
|
|
#endif
|