|
|
|
@ -49,7 +49,7 @@ namespace cryptonote
|
|
|
|
|
// advance which version they will stop working with
|
|
|
|
|
// Don't go over 32767 for any of these
|
|
|
|
|
#define CORE_RPC_VERSION_MAJOR 1
|
|
|
|
|
#define CORE_RPC_VERSION_MINOR 15
|
|
|
|
|
#define CORE_RPC_VERSION_MINOR 16
|
|
|
|
|
#define MAKE_CORE_RPC_VERSION(major,minor) (((major)<<16)|(minor))
|
|
|
|
|
#define CORE_RPC_VERSION MAKE_CORE_RPC_VERSION(CORE_RPC_VERSION_MAJOR, CORE_RPC_VERSION_MINOR)
|
|
|
|
|
|
|
|
|
@ -917,6 +917,7 @@ namespace cryptonote
|
|
|
|
|
uint64_t alt_blocks_count;
|
|
|
|
|
uint64_t outgoing_connections_count;
|
|
|
|
|
uint64_t incoming_connections_count;
|
|
|
|
|
uint64_t rpc_connections_count;
|
|
|
|
|
uint64_t white_peerlist_size;
|
|
|
|
|
uint64_t grey_peerlist_size;
|
|
|
|
|
bool testnet;
|
|
|
|
@ -936,6 +937,7 @@ namespace cryptonote
|
|
|
|
|
KV_SERIALIZE(alt_blocks_count)
|
|
|
|
|
KV_SERIALIZE(outgoing_connections_count)
|
|
|
|
|
KV_SERIALIZE(incoming_connections_count)
|
|
|
|
|
KV_SERIALIZE(rpc_connections_count)
|
|
|
|
|
KV_SERIALIZE(white_peerlist_size)
|
|
|
|
|
KV_SERIALIZE(grey_peerlist_size)
|
|
|
|
|
KV_SERIALIZE(testnet)
|
|
|
|
|