mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
348 B
C++
21 lines
348 B
C++
#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>
|
|
{
|
|
ShortHash
|
|
CalculateHash() const;
|
|
};
|
|
} // namespace consensus
|
|
} // namespace llarp
|
|
|
|
#endif
|