diff options
Diffstat (limited to 'include/INode.h')
-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; |