|
|
|
@ -88,7 +88,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 3
|
|
|
|
|
#define CORE_RPC_VERSION_MINOR 11
|
|
|
|
|
#define CORE_RPC_VERSION_MINOR 12
|
|
|
|
|
#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)
|
|
|
|
|
|
|
|
|
@ -592,6 +592,7 @@ namespace cryptonote
|
|
|
|
|
bool fee_too_low;
|
|
|
|
|
bool too_few_outputs;
|
|
|
|
|
bool sanity_check_failed;
|
|
|
|
|
bool tx_extra_too_big;
|
|
|
|
|
|
|
|
|
|
BEGIN_KV_SERIALIZE_MAP()
|
|
|
|
|
KV_SERIALIZE_PARENT(rpc_access_response_base)
|
|
|
|
@ -606,6 +607,7 @@ namespace cryptonote
|
|
|
|
|
KV_SERIALIZE(fee_too_low)
|
|
|
|
|
KV_SERIALIZE(too_few_outputs)
|
|
|
|
|
KV_SERIALIZE(sanity_check_failed)
|
|
|
|
|
KV_SERIALIZE(tx_extra_too_big)
|
|
|
|
|
END_KV_SERIALIZE_MAP()
|
|
|
|
|
};
|
|
|
|
|
typedef epee::misc_utils::struct_init<response_t> response;
|
|
|
|
|