diff options
Diffstat (limited to 'include/DatabaseNode.hpp')
-rw-r--r-- | include/DatabaseNode.hpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/DatabaseNode.hpp b/include/DatabaseNode.hpp deleted file mode 100644 index 3ca4be3..0000000 --- a/include/DatabaseNode.hpp +++ /dev/null @@ -1,31 +0,0 @@ -#pragma once - -#include "Hash.hpp" -#include <memory> - -namespace odhtdb -{ - class DatabaseNode - { - public: - DatabaseNode(const std::shared_ptr<char*> &_encryptionKey, const std::shared_ptr<Hash> &_nodeHash) : - encryptionKey(_encryptionKey), - nodeHash(_nodeHash) - { - - } - - const std::shared_ptr<char*> getNodeEncryptionKey() const - { - return encryptionKey; - } - - const std::shared_ptr<Hash> getRequestHash() const - { - return nodeHash; - } - private: - std::shared_ptr<char*> encryptionKey; - std::shared_ptr<Hash> nodeHash; - }; -} |