|
|
@ -88,7 +88,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 3
|
|
|
|
#define CORE_RPC_VERSION_MAJOR 3
|
|
|
|
#define CORE_RPC_VERSION_MINOR 6
|
|
|
|
#define CORE_RPC_VERSION_MINOR 7
|
|
|
|
#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)
|
|
|
|
|
|
|
|
|
|
|
@ -350,6 +350,7 @@ namespace cryptonote
|
|
|
|
bool in_pool;
|
|
|
|
bool in_pool;
|
|
|
|
bool double_spend_seen;
|
|
|
|
bool double_spend_seen;
|
|
|
|
uint64_t block_height;
|
|
|
|
uint64_t block_height;
|
|
|
|
|
|
|
|
uint64_t confirmations;
|
|
|
|
uint64_t block_timestamp;
|
|
|
|
uint64_t block_timestamp;
|
|
|
|
uint64_t received_timestamp;
|
|
|
|
uint64_t received_timestamp;
|
|
|
|
std::vector<uint64_t> output_indices;
|
|
|
|
std::vector<uint64_t> output_indices;
|
|
|
@ -367,6 +368,7 @@ namespace cryptonote
|
|
|
|
if (!this_ref.in_pool)
|
|
|
|
if (!this_ref.in_pool)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
KV_SERIALIZE(block_height)
|
|
|
|
KV_SERIALIZE(block_height)
|
|
|
|
|
|
|
|
KV_SERIALIZE(confirmations)
|
|
|
|
KV_SERIALIZE(block_timestamp)
|
|
|
|
KV_SERIALIZE(block_timestamp)
|
|
|
|
KV_SERIALIZE(output_indices)
|
|
|
|
KV_SERIALIZE(output_indices)
|
|
|
|
}
|
|
|
|
}
|
|
|
|