Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
hive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
47
Issues
47
List
Boards
Labels
Service Desk
Milestones
Merge Requests
13
Merge Requests
13
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
hive
hive
Commits
700f225b
Commit
700f225b
authored
Oct 26, 2020
by
Bartek Wrona
1
Browse files
Options
Browse Files
Download
Plain Diff
branch 'fix-sps-convert-vop-rebase' rebased onto master
parents
7902419c
8a80a65c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
libraries/plugins/apis/account_history_api/account_history_api.cpp
.../plugins/apis/account_history_api/account_history_api.cpp
+2
-1
libraries/plugins/apis/account_history_api/include/hive/plugins/account_history_api/account_history_api.hpp
.../hive/plugins/account_history_api/account_history_api.hpp
+2
-1
libraries/plugins/apis/condenser_api/include/hive/plugins/condenser_api/condenser_api_legacy_operations.hpp
...plugins/condenser_api/condenser_api_legacy_operations.hpp
+4
-1
No files found.
libraries/plugins/apis/account_history_api/account_history_api.cpp
View file @
700f225b
...
...
@@ -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
;
...
...
libraries/plugins/apis/account_history_api/include/hive/plugins/account_history_api/account_history_api.hpp
View file @
700f225b
...
...
@@ -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.
...
...
libraries/plugins/apis/condenser_api/include/hive/plugins/condenser_api/condenser_api_legacy_operations.hpp
View file @
700f225b
...
...
@@ -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
{
...
...
Dan Notestein
@dan
mentioned in issue
#95 (closed)
·
Oct 27, 2020
mentioned in issue
#95 (closed)
mentioned in issue #95
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment