mirror of https://github.com/oxen-io/lokinet
replace LLARP_PROTO_VERSION macro
parent
0331db494e
commit
1eba0f836e
@ -1,13 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef LLARP_PROTO_VERSION
|
||||
#define LLARP_PROTO_VERSION (0)
|
||||
#endif
|
||||
namespace llarp::constants
|
||||
{
|
||||
/// current network wide protocol version
|
||||
// TODO: enum class
|
||||
constexpr auto proto_version = 0;
|
||||
|
||||
#ifndef LLARP_ETH_PROTO
|
||||
#define LLARP_ETH_PROTO (0xD1CE)
|
||||
#endif
|
||||
|
||||
#ifndef LLARP_KEYFILE_VERSION
|
||||
#define LLARP_KEYFILE_VERSION (1)
|
||||
#endif
|
||||
} // namespace llarp::constants
|
||||
|
Loading…
Reference in New Issue