Files
rippled/Account.h
JoelKatz e9ae645e3b Transaction Infrastructure Work:
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.
2011-11-11 14:13:25 -08:00

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