Integrate moon concept into http config bus, and clean up that code quite a bit.

This commit is contained in:
Adam Ierymenko 2017-02-13 14:27:08 -08:00
parent c95bae2d73
commit 4b11566505
7 changed files with 265 additions and 360 deletions

View file

@ -135,6 +135,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
*