lokinet/llarp/consensus/table.hpp

21 lines
348 B
C++
Raw Normal View History

2020-01-21 17:31:48 +00:00
#ifndef LLARP_CONSENSUS_TABLE_HPP
#define LLARP_CONSENSUS_TABLE_HPP
#include <crypto/types.hpp>
#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
#endif