diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-03-13 06:26:06 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:46 +0200 |
commit | 5a8727e34b938b70623ca865273fd81c7604b461 (patch) | |
tree | a2921e90aa454072dc58fced36b508f67f5d1226 /include/DatabaseNode.hpp | |
parent | 9ffc25c9d99fe86d4789108d1d8615ecb0388cc6 (diff) |
Expose include dir
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; - }; -} |