Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5158 from EOSIO/gh#5085-remove-account-history-pl…
Browse files Browse the repository at this point in the history
…ugin

Gh#5085 remove account history plugin
  • Loading branch information
heifner authored Aug 10, 2018
2 parents 62d5049 + 5761c04 commit 39ae29a
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 777 deletions.
8 changes: 0 additions & 8 deletions libraries/chain/include/eosio/chain/trace.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ namespace eosio { namespace chain {
std::exception_ptr except_ptr;
};

struct block_trace {
fc::microseconds elapsed;
uint64_t billed_cpu_usage_us;
vector<transaction_trace_ptr> trx_traces;
};
using block_trace_ptr = std::shared_ptr<block_trace>;

} } /// namespace eosio::chain

FC_REFLECT( eosio::chain::base_action_trace,
Expand All @@ -63,4 +56,3 @@ FC_REFLECT_DERIVED( eosio::chain::action_trace,

FC_REFLECT( eosio::chain::transaction_trace, (id)(receipt)(elapsed)(net_usage)(scheduled)
(action_traces)(failed_dtrx_trace)(except) )
FC_REFLECT( eosio::chain::block_trace, (elapsed)(billed_cpu_usage_us)(trx_traces) )
28 changes: 4 additions & 24 deletions libraries/chain/include/eosio/chain/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ namespace eosio { namespace chain {
permission_object_type,
permission_usage_object_type,
permission_link_object_type,
action_code_object_type,
key_value_object_type,
index64_object_type,
index128_object_type,
Expand All @@ -131,24 +130,15 @@ namespace eosio { namespace chain {
transaction_object_type,
generated_transaction_object_type,
producer_object_type,
chain_property_object_type,
account_control_history_object_type, ///< Defined by account_history_plugin
account_transaction_history_object_type, ///< Defined by account_history_plugin
transaction_history_object_type, ///< Defined by account_history_plugin
public_key_history_object_type, ///< Defined by account_history_plugin
balance_object_type, ///< Defined by native_contract library
staked_balance_object_type, ///< Defined by native_contract library
producer_votes_object_type, ///< Defined by native_contract library
producer_schedule_object_type, ///< Defined by native_contract library
proxy_vote_object_type, ///< Defined by native_contract library
scope_sequence_object_type,
account_control_history_object_type, ///< Defined by history_plugin
public_key_history_object_type, ///< Defined by history_plugin
table_id_object_type,
resource_limits_object_type,
resource_usage_object_type,
resource_limits_state_object_type,
resource_limits_config_object_type,
account_history_object_type,
action_history_object_type,
account_history_object_type, ///< Defined by history_plugin
action_history_object_type, ///< Defined by history_plugin
reversible_block_object_type,
OBJECT_TYPE_COUNT ///< Sentry value which contains the number of different object types
};
Expand Down Expand Up @@ -187,7 +177,6 @@ FC_REFLECT_ENUM(eosio::chain::object_type,
(permission_object_type)
(permission_usage_object_type)
(permission_link_object_type)
(action_code_object_type)
(key_value_object_type)
(index64_object_type)
(index128_object_type)
Expand All @@ -200,17 +189,8 @@ FC_REFLECT_ENUM(eosio::chain::object_type,
(transaction_object_type)
(generated_transaction_object_type)
(producer_object_type)
(chain_property_object_type)
(account_control_history_object_type)
(account_transaction_history_object_type)
(transaction_history_object_type)
(public_key_history_object_type)
(balance_object_type)
(staked_balance_object_type)
(producer_votes_object_type)
(producer_schedule_object_type)
(proxy_vote_object_type)
(scope_sequence_object_type)
(table_id_object_type)
(resource_limits_object_type)
(resource_usage_object_type)
Expand Down
1 change: 0 additions & 1 deletion plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ add_subdirectory(producer_api_plugin)
add_subdirectory(history_plugin)
add_subdirectory(history_api_plugin)

#add_subdirectory(account_history_api_plugin)
add_subdirectory(wallet_plugin)
add_subdirectory(wallet_api_plugin)
add_subdirectory(txn_test_gen_plugin)
Expand Down
7 changes: 0 additions & 7 deletions plugins/account_history_api_plugin/CMakeLists.txt

This file was deleted.

53 changes: 0 additions & 53 deletions plugins/account_history_api_plugin/account_history_api_plugin.cpp

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions plugins/account_history_plugin/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit 39ae29a

Please sign in to comment.