10#include <sysio/time.hpp>
11#include <sysio/varint.hpp>
76 std::optional<block_batch_info>
result;
90using input_type = std::variant<get_latest_block_batch_info>;
92using output_type = std::variant<latest_block_batch_info_result>;
99 (batch_start_height_offset)(batch_size))
101 (batch_start_height)(batch_start_timestamp)(batch_current_end_height)(batch_current_end_timestamp))
104 (no_error)(invalid_input)(unsupported_version)(insufficient_data))
106 (result)(error_code))
std::variant< get_latest_block_batch_info > input_type
std::variant< latest_block_batch_info_result > output_type
sysio::time_point time_point
sysio::unsigned_int varint
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
#define FC_REFLECT_ENUM(ENUM, FIELDS)
sysio::time_point batch_current_end_timestamp
uint32_t batch_current_end_height
sysio::time_point batch_start_timestamp
uint32_t batch_start_height
Input data structure for get_latest_block_batch_info RPC.
uint32_t batch_start_height_offset
Output data structure for get_latest_block_batch_info RPC.
std::optional< block_batch_info > result
error_code_enum get_error() const