Commit 700f225b authored by Bartek Wrona's avatar Bartek Wrona
Browse files

branch 'fix-sps-convert-vop-rebase' rebased onto master

parents 7902419c 8a80a65c
......@@ -257,7 +257,8 @@ struct filtering_visitor
(return_vesting_delegation_operation)(comment_benefactor_reward_operation)(producer_reward_operation)
(clear_null_account_balance_operation)(proposal_pay_operation)(sps_fund_operation)
(hardfork_hive_operation)(hardfork_hive_restore_operation)(delayed_voting_operation)
(consolidate_treasury_balance_operation)(effective_comment_vote_operation)(ineffective_delete_comment_operation) )
(consolidate_treasury_balance_operation)(effective_comment_vote_operation)(ineffective_delete_comment_operation)
(sps_convert_operation) )
private:
uint32_t _filter = 0;
......
......@@ -116,7 +116,8 @@ enum enum_vops_filter : uint32_t
delayed_voting_operation = 0x100000,
consolidate_treasury_balance_operation = 0x200000,
effective_comment_vote_operation = 0x400000,
ineffective_delete_comment_operation = 0x800000
ineffective_delete_comment_operation = 0x800000,
sps_convert_operation = 0x1000000
};
/** Allows to specify range of blocks to retrieve virtual operations for.
......
......@@ -76,6 +76,7 @@ namespace hive { namespace plugins { namespace condenser_api {
typedef clear_null_account_balance_operation legacy_clear_null_account_balance_operation;
typedef consolidate_treasury_balance_operation legacy_consolidate_treasury_balance_operation;
typedef delayed_voting_operation legacy_delayed_voting_operation;
typedef sps_convert_operation legacy_sps_convert_operation;
struct legacy_price
{
......@@ -1237,7 +1238,8 @@ namespace hive { namespace plugins { namespace condenser_api {
legacy_hardfork_hive_operation,
legacy_hardfork_hive_restore_operation,
legacy_delayed_voting_operation,
legacy_consolidate_treasury_balance_operation
legacy_consolidate_treasury_balance_operation,
legacy_sps_convert_operation
> legacy_operation;
struct legacy_operation_conversion_visitor
......@@ -1281,6 +1283,7 @@ namespace hive { namespace plugins { namespace condenser_api {
bool operator()( const clear_null_account_balance_operation& op )const { l_op = op; return true; }
bool operator()( const consolidate_treasury_balance_operation& op )const { l_op = op; return true; }
bool operator()( const delayed_voting_operation& op )const { l_op = op; return true; }
bool operator()( const sps_convert_operation& op )const { l_op = op; return true; }
bool operator()( const transfer_operation& op )const
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment