Move sources to src and build objs in obj.

This commit is contained in:
Arthur Britto
2012-03-06 22:43:06 -08:00
parent 82af29a21d
commit c513e45754
95 changed files with 55 additions and 39 deletions

25
src/UniqueNodeList.h Normal file
View File

@@ -0,0 +1,25 @@
#ifndef __UNIQUE_NODE_LIST__
#define __UNIQUE_NODE_LIST__
#include "../obj/src/newcoin.pb.h"
#include "uint256.h"
class UniqueNodeList
{
// hanko to public key
//std::map<uint160, uint256> mUNL;
public:
//void load();
//void save();
void addNode(uint160& hanko,std::vector<unsigned char>& publicKey);
void removeNode(uint160& hanko);
// 0- we don't care, 1- we care and is valid, 2-invalid signature
// int checkValid(newcoin::Validation& valid);
void dumpUNL(std::string& retStr);
};
#endif