mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
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.
This commit is contained in:
17
Account.h
Normal file
17
Account.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user