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