From d4eccda003ea95de50da126b73ad0bda1c503505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Thu, 24 Nov 2016 14:39:12 +0100 Subject: [PATCH] Documentation --- protocol.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocol.h b/protocol.h index 804b3a2..6e74194 100644 --- a/protocol.h +++ b/protocol.h @@ -70,6 +70,9 @@ class Protocol { void sendIHave(u64 id, u64 datId, u32 seqno); /** Sends a IHave packet for `datId` */ + u64 getSelfId() const { return selfId; } + /** Returns the ID of this node. */ + private: //meth void startPollNetwork(); void pollNetwork();