Make these pieces work together.

This commit is contained in:
JoelKatz
2011-11-28 19:33:50 -08:00
parent aee1e9f180
commit 75f1eb80a4
7 changed files with 21 additions and 14 deletions

View File

@@ -1,11 +1,16 @@
#include "Wallet.h"
#include "NewcoinAddress.h"
#include "Conversion.h"
#include "Application.h"
#include "LedgerMaster.h"
#include <string>
#include <boost/foreach.hpp>
using namespace std;
LocalAccount::LocalAccount(bool)
{
mPrivateKey.MakeNewKey();
mPublicKey.SetPubKey(mPrivateKey.GetPubKey());
mAddress.SetPubKey(mPublicKey.GetPubKey());
}
#if 0
Wallet::Wallet()
{
@@ -170,3 +175,6 @@ bool Wallet::commitTransaction(TransactionPtr trans)
}
return(false);
}
#endif