|
|
@ -84,7 +84,7 @@ namespace cryptonote
|
|
|
|
// advance which version they will stop working with
|
|
|
|
// advance which version they will stop working with
|
|
|
|
// Don't go over 32767 for any of these
|
|
|
|
// Don't go over 32767 for any of these
|
|
|
|
#define CORE_RPC_VERSION_MAJOR 2
|
|
|
|
#define CORE_RPC_VERSION_MAJOR 2
|
|
|
|
#define CORE_RPC_VERSION_MINOR 4
|
|
|
|
#define CORE_RPC_VERSION_MINOR 5
|
|
|
|
#define MAKE_CORE_RPC_VERSION(major,minor) (((major)<<16)|(minor))
|
|
|
|
#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)
|
|
|
|
#define CORE_RPC_VERSION MAKE_CORE_RPC_VERSION(CORE_RPC_VERSION_MAJOR, CORE_RPC_VERSION_MINOR)
|
|
|
|
|
|
|
|
|
|
|
@ -967,6 +967,7 @@ namespace cryptonote
|
|
|
|
uint64_t num_txes;
|
|
|
|
uint64_t num_txes;
|
|
|
|
std::string pow_hash;
|
|
|
|
std::string pow_hash;
|
|
|
|
uint64_t long_term_weight;
|
|
|
|
uint64_t long_term_weight;
|
|
|
|
|
|
|
|
std::string miner_tx_hash;
|
|
|
|
|
|
|
|
|
|
|
|
BEGIN_KV_SERIALIZE_MAP()
|
|
|
|
BEGIN_KV_SERIALIZE_MAP()
|
|
|
|
KV_SERIALIZE(major_version)
|
|
|
|
KV_SERIALIZE(major_version)
|
|
|
@ -990,6 +991,7 @@ namespace cryptonote
|
|
|
|
KV_SERIALIZE(num_txes)
|
|
|
|
KV_SERIALIZE(num_txes)
|
|
|
|
KV_SERIALIZE(pow_hash)
|
|
|
|
KV_SERIALIZE(pow_hash)
|
|
|
|
KV_SERIALIZE_OPT(long_term_weight, (uint64_t)0)
|
|
|
|
KV_SERIALIZE_OPT(long_term_weight, (uint64_t)0)
|
|
|
|
|
|
|
|
KV_SERIALIZE(miner_tx_hash)
|
|
|
|
END_KV_SERIALIZE_MAP()
|
|
|
|
END_KV_SERIALIZE_MAP()
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|