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:
JoelKatz
2011-11-11 14:13:25 -08:00
parent fd7e41501b
commit e9ae645e3b
11 changed files with 238 additions and 116 deletions

17
Account.h Normal file
View 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