mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
Currently we store it as various different things: 3 separate ints, 2 u16s, 3 separate u16s, and a vector of u16s. This unifies all version values to a `std::array<uint16_t,3>`. - LOKI_VERSION_{MAJOR,MINOR,PATCH} are now just LOKI_VERSION - The previous LOKI_VERSION (C-string of the version) is now renamed LOKI_VERSION_STR A related change included here is that the restricted RPC now returns the major version in the get_info rpc call instead of an empty string (e.g. "5" instead of ""). There is almost certainly enough difference in the RPC results to distinguish major versions already so this doesn't seem like it actually leaks anything significant. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
core_rpc_server.cpp | ||
core_rpc_server.h | ||
core_rpc_server_commands_defs.h | ||
core_rpc_server_error_codes.h | ||
daemon_handler.cpp | ||
daemon_handler.h | ||
daemon_messages.cpp | ||
daemon_messages.h | ||
daemon_rpc_version.h | ||
instanciations.cpp | ||
message.cpp | ||
message.h | ||
message_data_structs.h | ||
rpc_args.cpp | ||
rpc_args.h | ||
rpc_handler.cpp | ||
rpc_handler.h | ||
zmq_server.cpp | ||
zmq_server.h |