86 {
87 ilog(
"starting producer_api_plugin");
88
90
99 INVOKE_R_V(producer, get_runtime_options), 201),
101 INVOKE_V_R(producer, update_runtime_options, producer_plugin::runtime_options), 201),
103 INVOKE_V_R(producer, add_greylist_accounts, producer_plugin::greylist_params), 201),
105 INVOKE_V_R(producer, remove_greylist_accounts, producer_plugin::greylist_params), 201),
109 INVOKE_R_V(producer, get_whitelist_blacklist), 201),
111 INVOKE_V_R(producer, set_whitelist_blacklist, producer_plugin::whitelist_blacklist), 201),
113 INVOKE_R_V(producer, get_integrity_hash), 201),
114 CALL_ASYNC(producer, producer, create_snapshot, producer_plugin::snapshot_information,
116 CALL_WITH_400(producer, producer, get_scheduled_protocol_feature_activations,
117 INVOKE_R_V(producer, get_scheduled_protocol_feature_activations), 201),
118 CALL_WITH_400(producer, producer, schedule_protocol_feature_activations,
119 INVOKE_V_R(producer, schedule_protocol_feature_activations, producer_plugin::scheduled_protocol_feature_activations), 201),
120 CALL_WITH_400(producer, producer, get_supported_protocol_features,
122 producer_plugin::get_supported_protocol_features_params), 201),
123 CALL_WITH_400(producer, producer, get_account_ram_corrections,
124 INVOKE_R_R(producer, get_account_ram_corrections, producer_plugin::get_account_ram_corrections_params), 201),
126}
#define CALL_WITH_400(api_name, api_handle, api_namespace, call_name, http_response_code, params_type)
#define INVOKE_R_V(api_handle, call_name)
#define INVOKE_V_R(api_handle, call_name, in_param)
#define INVOKE_V_V(api_handle, call_name)
#define INVOKE_R_R(api_handle, call_name, in_param)
#define INVOKE_R_R_II(api_handle, call_name, in_param)
#define INVOKE_R_V_ASYNC(api_handle, call_name)
#define CALL_ASYNC(api_name, api_handle, call_name, call_result, INVOKE, http_response_code)
static constexpr int medium_high