|
|
|
@ -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 20
|
|
|
|
|
#define CORE_RPC_VERSION_MINOR 21
|
|
|
|
|
#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)
|
|
|
|
|
|
|
|
|
@ -964,6 +964,7 @@ namespace cryptonote
|
|
|
|
|
std::string bootstrap_daemon_address;
|
|
|
|
|
uint64_t height_without_bootstrap;
|
|
|
|
|
bool was_bootstrap_ever_used;
|
|
|
|
|
uint64_t database_size;
|
|
|
|
|
|
|
|
|
|
BEGIN_KV_SERIALIZE_MAP()
|
|
|
|
|
KV_SERIALIZE(status)
|
|
|
|
@ -993,6 +994,7 @@ namespace cryptonote
|
|
|
|
|
KV_SERIALIZE(bootstrap_daemon_address)
|
|
|
|
|
KV_SERIALIZE(height_without_bootstrap)
|
|
|
|
|
KV_SERIALIZE(was_bootstrap_ever_used)
|
|
|
|
|
KV_SERIALIZE(database_size)
|
|
|
|
|
END_KV_SERIALIZE_MAP()
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|