oxen-core/src/rpc
Jason Rhinelander 8a276b362f Store loki version as std::array<u16,3> everywhere
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.
2019-11-27 14:07:52 -04:00
..
CMakeLists.txt Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
core_rpc_server.cpp Store loki version as std::array<u16,3> everywhere 2019-11-27 14:07:52 -04:00
core_rpc_server.h Merge branch 'pk25519-rpc-interfaces' into lokinet-integration 2019-11-26 21:47:07 -04:00
core_rpc_server_commands_defs.h Store loki version as std::array<u16,3> everywhere 2019-11-27 14:07:52 -04:00
core_rpc_server_error_codes.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
daemon_handler.cpp Store loki version as std::array<u16,3> everywhere 2019-11-27 14:07:52 -04:00
daemon_handler.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
daemon_messages.cpp Switch to per-byte + per-output fees, reduce max multiplier 2019-08-26 17:42:30 -03:00
daemon_messages.h Switch to per-byte + per-output fees, reduce max multiplier 2019-08-26 17:42:30 -03:00
daemon_rpc_version.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
instanciations.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
message.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
message.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
message_data_structs.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
rpc_args.cpp Add IPv6 support 2019-08-14 23:05:22 -03:00
rpc_args.h Add IPv6 support 2019-08-14 23:05:22 -03:00
rpc_handler.cpp rpc: work around a GCC 7.4.0 (at least) bug 2019-09-16 10:50:07 +10:00
rpc_handler.h rpc: improve get_output_distribution 2019-04-25 16:49:29 +00:00
zmq_server.cpp Add updated zmq c++ library 2019-10-07 22:09:17 -03:00
zmq_server.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00