This commit is contained in:
jed
2011-10-14 11:39:06 -07:00
commit a8e8613475
112 changed files with 25368 additions and 0 deletions

26
NewcoinAddress.h Normal file
View File

@@ -0,0 +1,26 @@
#ifndef __NEWCOIN_ADDRESS__
#define __NEWCOIN_ADDRESS__
#include "base58.h"
class NewcoinAddress : public CBase58Data
{
public:
NewcoinAddress();
NewcoinAddress(uint160& hash160In);
NewcoinAddress(const std::vector<unsigned char>& vchPubKey);
NewcoinAddress(const std::string& strAddress);
NewcoinAddress(const char* pszAddress);
bool SetHash160(const uint160& hash160);
bool SetPubKey(const std::vector<unsigned char>& vchPubKey);
bool IsValid();
uint160 GetHash160();
};
#endif