lokinet/llarp/consensus/table.hpp

18 lines
291 B
C++
Raw Normal View History

#pragma once
2020-01-21 17:31:48 +00:00
#include <llarp/crypto/types.hpp>
2020-01-21 17:31:48 +00:00
#include <vector>
namespace llarp
{
namespace consensus
{
/// consensus table
struct Table : public std::vector<RouterID>
2020-01-21 17:31:48 +00:00
{
ShortHash
CalculateHash() const;
};
} // namespace consensus
} // namespace llarp