Peer info

git-svn-id: svn://db.shs.com.ru/pip@29 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-03-16 15:07:05 +00:00
parent 6498313fdd
commit 66e54cf585
3 changed files with 39 additions and 51 deletions

View File

@@ -67,6 +67,7 @@ public:
PIString name;
PIVector<Address> addresses;
int dist;
PIStringList neighbours;
bool isNeighbour() const {return dist == 0;}
int ping() const;
@@ -80,7 +81,6 @@ public:
PIString nearest_address;
PIStringList neighbours;
int sync, cnt, trace;
bool was_update;
PISystemTime time;