9class account_ram_correction_object;
10class generated_transaction_object;
12struct key_value_object;
13class permission_object;
15struct protocol_feature;
16struct signed_transaction;
17struct packed_transaction;
18struct transaction_trace;
20namespace resource_limits {
21 class resource_limits_config_object;
22 class resource_limits_state_object;
23 struct resource_limits_object;
24 struct resource_usage_object;
27#define RAM_EVENT_ID( FORMAT, ... ) \
28 fc::format_string( FORMAT, fc::mutable_variant_object()__VA_ARGS__ )
38 const char* operation =
"generic";
90 void on_ram_trace(std::string&& event_id,
const char* family,
const char* operation,
const char* legacy_tag);
98 deep_mind_config _config;
void on_cancel_deferred(operation_qualifier qual, const generated_transaction_object >o)
void on_activate_feature(const protocol_feature &feature)
void on_modify_permission(const permission_object &old_permission, const permission_object &new_permission)
void on_newaccount_resource_limits(const resource_limits::resource_limits_object &limits, const resource_limits::resource_usage_object &usage)
void on_startup(chainbase::database &db, uint32_t head_block_num)
void on_preactivate_feature(const protocol_feature &feature)
void on_start_transaction()
void on_create_deferred(operation_qualifier qual, const generated_transaction_object >o, const packed_transaction &packed_trx)
void on_db_remove_i64(const table_id_object &tid, const key_value_object &kvo)
void on_end_transaction()
void on_update_resource_limits_state(const resource_limits::resource_limits_state_object &state)
void on_accepted_block(const std::shared_ptr< block_state > &bsp)
void on_send_context_free_inline()
void on_update_resource_limits_config(const resource_limits::resource_limits_config_object &config)
void update_config(deep_mind_config config)
void on_onerror(const signed_transaction &etrx)
void on_db_store_i64(const table_id_object &tid, const key_value_object &kvo)
void on_switch_forks(const block_id_type &old_head, const block_id_type &new_head)
void on_require_recipient()
void on_remove_table(const table_id_object &tid)
void on_update_account_usage(const resource_limits::resource_usage_object &usage)
void on_start_block(uint32_t block_num)
void on_send_deferred(operation_qualifier qual, const generated_transaction_object >o)
void on_db_update_i64(const table_id_object &tid, const key_value_object &kvo, account_name payer, const char *buffer, std::size_t buffer_size)
void update_logger(const std::string &logger_name)
void on_create_permission(const permission_object &p)
void on_add_ram_correction(const account_ram_correction_object &rco, uint64_t delta)
void on_set_account_limits(const resource_limits::resource_limits_object &limits)
void on_create_table(const table_id_object &tid)
void on_onblock(const signed_transaction &trx)
void on_remove_permission(const permission_object &permission)
void on_ram_event(account_name account, uint64_t new_usage, int64_t delta)
void on_ram_trace(std::string &&event_id, const char *family, const char *operation, const char *legacy_tag)
void on_init_resource_limits(const resource_limits::resource_limits_config_object &config, const resource_limits::resource_limits_state_object &state)
void on_applied_transaction(uint32_t block_num, const std::shared_ptr< transaction_trace > &trace)
The table_id_object class tracks the mapping of (scope, code, table) to an opaque identifier.
const fc::string logger_name("net_plugin_impl")
unsigned __int64 uint64_t
Immutable except for fc::from_variant.
ram_trace(std::string &&event_id, const char *family, const char *operation, const char *legacy_tag)