mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +00:00
20 lines
327 B
C++
20 lines
327 B
C++
#ifndef __ACCOUNT__
|
|
#define __ACCOUNT__
|
|
|
|
#include "uint256.h"
|
|
|
|
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
|