mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Move sources to src and build objs in obj.
This commit is contained in:
25
src/UniqueNodeList.h
Normal file
25
src/UniqueNodeList.h
Normal 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
|
||||
Reference in New Issue
Block a user