diff options
author | Antonio Juarez <antonio.maria.juarez@live.com> | 2014-04-09 13:14:35 +0100 |
---|---|---|
committer | Antonio Juarez <antonio.maria.juarez@live.com> | 2014-04-09 13:14:35 +0100 |
commit | 9682a15400495ae490543e7e5af242ff5c4c9fa0 (patch) | |
tree | 63ba7287d8f679742a244413291d4334fc26b6e6 /include/INode.h | |
parent | Improvements in JSON RPC (diff) | |
download | monero-9682a15400495ae490543e7e5af242ff5c4c9fa0.tar.xz |
Port mapping with UPnP
Diffstat (limited to '')
-rw-r--r-- | include/INode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/INode.h b/include/INode.h index bd35dccc5..624d4ac4c 100644 --- a/include/INode.h +++ b/include/INode.h @@ -7,7 +7,7 @@ #include <cstdint> #include <system_error> -namespace cryptonote { +namespace CryptoNote { class INodeObserver { public: @@ -23,12 +23,12 @@ public: class INode { public: virtual ~INode() = 0; - virtual void init() = 0; - virtual void shutdown() = 0; - virtual void addObserver(INodeObserver* observer) = 0; virtual void removeObserver(INodeObserver* observer) = 0; + virtual void init() = 0; + virtual void shutdown() = 0; + virtual size_t getPeerCount() = 0; virtual uint64_t getLastLocalBlockHeight() = 0; virtual uint64_t getLastKnownBlockHeight() = 0; |