summaryrefslogtreecommitdiff
path: root/node/World.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/World.hpp')
-rw-r--r--node/World.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/node/World.hpp b/node/World.hpp
index 8fe6dd2e..6e835bec 100644
--- a/node/World.hpp
+++ b/node/World.hpp
@@ -136,6 +136,16 @@ public:
inline uint64_t timestamp() const { return _ts; }
/**
+ * @return C25519 signature
+ */
+ inline const C25519::Signature &signature() const { return _signature; }
+
+ /**
+ * @return Public key that must sign next update
+ */
+ inline const C25519::Public &updatesMustBeSignedBy() const { return _updatesMustBeSignedBy; }
+
+ /**
* Check whether a world update should replace this one
*
* @param update Candidate update