File tree 7 files changed +10
-295
lines changed
7 files changed +10
-295
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ add_library( graphene_app
6
6
application.cpp
7
7
util.cpp
8
8
database_api.cpp
9
- impacted.cpp
10
9
plugin.cpp
11
10
${HEADERS}
12
11
${EGENESIS_HEADERS}
Original file line number Diff line number Diff line change 26
26
#include < graphene/app/api.hpp>
27
27
#include < graphene/app/api_access.hpp>
28
28
#include < graphene/app/application.hpp>
29
- #include < graphene/app/impacted.hpp>
30
29
#include < graphene/chain/database.hpp>
31
30
#include < graphene/chain/get_config.hpp>
32
31
#include < graphene/utilities/key_conversion.hpp>
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 14
14
#include < graphene/chain/operation_history_object.hpp>
15
15
#include < graphene/chain/vesting_balance_object.hpp>
16
16
#include < graphene/chain/transaction_object.hpp>
17
+ #include < graphene/chain/impacted.hpp>
17
18
18
19
using namespace fc ;
19
20
using namespace graphene ::chain;
@@ -257,19 +258,19 @@ struct get_impacted_account_visitor
257
258
}
258
259
};
259
260
260
- static void operation_get_impacted_accounts ( const operation& op, flat_set<account_id_type>& result )
261
+ void graphene::chain:: operation_get_impacted_accounts ( const operation& op, flat_set<account_id_type>& result )
261
262
{
262
263
get_impacted_account_visitor vtor = get_impacted_account_visitor ( result );
263
264
op.visit ( vtor );
264
265
}
265
266
266
- static void transaction_get_impacted_accounts ( const transaction& tx, flat_set<account_id_type>& result )
267
+ void graphene::chain:: transaction_get_impacted_accounts ( const transaction& tx, flat_set<account_id_type>& result )
267
268
{
268
269
for ( const auto & op : tx.operations )
269
270
operation_get_impacted_accounts ( op, result );
270
271
}
271
272
272
- static void get_relevant_accounts ( const object* obj, flat_set<account_id_type>& accounts )
273
+ void get_relevant_accounts ( const object* obj, flat_set<account_id_type>& accounts )
273
274
{
274
275
if ( obj->id .space () == protocol_ids )
275
276
{
Original file line number Diff line number Diff line change 28
28
#include < graphene/chain/protocol/transaction.hpp>
29
29
#include < graphene/chain/protocol/types.hpp>
30
30
31
- namespace graphene { namespace app {
31
+ namespace graphene { namespace chain {
32
32
33
33
void operation_get_impacted_accounts (
34
34
const graphene::chain::operation& op,
@@ -39,4 +39,4 @@ void transaction_get_impacted_accounts(
39
39
fc::flat_set<graphene::chain::account_id_type>& result
40
40
);
41
41
42
- } } // graphene::app
42
+ } } // graphene::app
Original file line number Diff line number Diff line change 24
24
25
25
#include < graphene/account_history/account_history_plugin.hpp>
26
26
27
- #include < graphene/app /impacted.hpp>
27
+ #include < graphene/chain /impacted.hpp>
28
28
29
29
#include < graphene/chain/account_evaluator.hpp>
30
30
#include < graphene/chain/account_object.hpp>
@@ -134,7 +134,7 @@ void account_history_plugin_impl::update_account_histories( const signed_block&
134
134
if ( op.op .which () == operation::tag< account_create_operation >::value )
135
135
impacted.insert ( op.result .get <object_id_type>() );
136
136
else
137
- graphene::app ::operation_get_impacted_accounts ( op.op , impacted );
137
+ graphene::chain ::operation_get_impacted_accounts ( op.op , impacted );
138
138
139
139
for ( auto & a : other )
140
140
for ( auto & item : a.account_auths )
Original file line number Diff line number Diff line change 24
24
25
25
#include < graphene/elasticsearch/elasticsearch_plugin.hpp>
26
26
27
- #include < graphene/app /impacted.hpp>
27
+ #include < graphene/chain /impacted.hpp>
28
28
29
29
#include < graphene/chain/account_evaluator.hpp>
30
30
#include < graphene/chain/account_object.hpp>
@@ -135,7 +135,7 @@ void elasticsearch_plugin_impl::update_account_histories( const signed_block& b
135
135
if ( op.op .which () == operation::tag< account_create_operation >::value )
136
136
impacted.insert ( op.result .get <object_id_type>() );
137
137
else
138
- graphene::app ::operation_get_impacted_accounts ( op.op , impacted );
138
+ graphene::chain ::operation_get_impacted_accounts ( op.op , impacted );
139
139
140
140
for ( auto & a : other )
141
141
for ( auto & item : a.account_auths )
You can’t perform that action at this time.
0 commit comments