31 namespace graphene {
namespace elasticsearch {
32 using namespace chain;
44 #ifndef ELASTICSEARCH_SPACE_ID 45 #define ELASTICSEARCH_SPACE_ID 6 50 class elasticsearch_plugin_impl;
61 std::string plugin_name()
const override;
62 std::string plugin_description()
const override;
63 void plugin_set_program_options(
64 boost::program_options::options_description& cli,
65 boost::program_options::options_description& cfg)
override;
66 void plugin_initialize(
const boost::program_options::variables_map& options)
override;
67 void plugin_startup()
override;
70 vector<operation_history_object> get_account_history(
71 const account_id_type& account_id,
72 const operation_history_id_type& stop = operation_history_id_type(),
74 const operation_history_id_type& start = operation_history_id_type() )
const;
75 mode get_running_mode()
const;
78 std::unique_ptr<detail::elasticsearch_plugin_impl> my;
150 (trx_in_block)(op_in_trx)(virtual_op)(fee_payer)
156 (order_id)(account_id)(pays_asset_id)(pays_asset_name)(pays_amount)(pays_amount_units)
157 (receives_asset_id)(receives_asset_name)(receives_amount)(receives_amount_units)(fill_price)
158 (fill_price_units)(is_maker) )
161 (account_history)(operation_history)(operation_type)(operation_id_num)(block_data)(additional_data) )
uint64_t operation_id_num
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
asset_id_type receives_asset_id
tracks the history of all logical operations on blockchain stateAll operations and virtual operations...
asset_id_type pays_asset_id
optional< visitor_struct > additional_data
std::string receives_asset_name
account_id_type fee_payer
share_type receives_amount
transfer_struct transfer_data
account_history_object account_history
provides stack-based nullable value similar to boost::optional
FC_REFLECT_ENUM(graphene::net::core_message_type_enum,(trx_message_type)(block_message_type)(core_message_type_first)(item_ids_inventory_message_type)(blockchain_item_ids_inventory_message_type)(fetch_blockchain_item_ids_message_type)(fetch_items_message_type)(item_not_available_message_type)(hello_message_type)(connection_accepted_message_type)(connection_rejected_message_type)(address_request_message_type)(address_message_type)(closing_connection_message_type)(current_time_request_message_type)(current_time_reply_message_type)(check_firewall_message_type)(check_firewall_reply_message_type)(get_current_connections_request_message_type)(get_current_connections_reply_message_type)(core_message_type_last))(different_chain)(already_connected)(connected_to_self)(not_accepting_connections)(blocked)(invalid_hello_message)(client_too_old))(inbound)(outbound))(firewalled)(not_firewalled))(unable_to_connect)(connection_successful)) namespace std
fc::time_point_sec block_time
std::string operation_result
account_id_type account_id
a node in a linked list of operation_history_objectsAccount history is important for users and wallet...
std::string pays_asset_name
variant operation_result_object
safe< int64_t > share_type
double receives_amount_units
operation_history_struct operation_history