Skip to content

Commit 7c66d15

Browse files
[BSIP40] Add some hash argument types
See: https://github.com/bitshares/bitshares-core/pull/ 2093#discussion_r401604111 I can still get away with reordering the list like this because it's never been released yet.
1 parent 56d7ef6 commit 7c66d15

File tree

1 file changed

+33
-30
lines changed

1 file changed

+33
-30
lines changed

libraries/protocol/include/graphene/protocol/restriction.hpp

+33-30
Original file line numberDiff line numberDiff line change
@@ -59,36 +59,39 @@ struct restriction {
5959
/* 3 */ string, \
6060
/* 4 */ time_point_sec, \
6161
/* 5 */ public_key_type, \
62-
/* 6 */ fc::sha256, \
63-
/* 7 */ account_id_type, \
64-
/* 8 */ asset_id_type, \
65-
/* 9 */ htlc_id_type, \
66-
/* 10 */ committee_member_id_type, \
67-
/* 11 */ witness_id_type, \
68-
/* 12 */ limit_order_id_type, \
69-
/* 13 */ proposal_id_type, \
70-
/* 14 */ withdraw_permission_id_type, \
71-
/* 15 */ vesting_balance_id_type, \
72-
/* 16 */ balance_id_type, \
73-
/* 17 */ flat_set<bool>, \
74-
/* 18 */ flat_set<int64_t>, \
75-
/* 19 */ flat_set<string>, \
76-
/* 20 */ flat_set<time_point_sec>, \
77-
/* 21 */ flat_set<public_key_type>, \
78-
/* 22 */ flat_set<fc::sha256>, \
79-
/* 23 */ flat_set<account_id_type>, \
80-
/* 24 */ flat_set<asset_id_type>, \
81-
/* 25 */ flat_set<htlc_id_type>, \
82-
/* 26 */ flat_set<committee_member_id_type>, \
83-
/* 27 */ flat_set<witness_id_type>, \
84-
/* 28 */ flat_set<limit_order_id_type>, \
85-
/* 29 */ flat_set<proposal_id_type>, \
86-
/* 30 */ flat_set<withdraw_permission_id_type>, \
87-
/* 31 */ flat_set<vesting_balance_id_type>, \
88-
/* 32 */ flat_set<balance_id_type>, \
89-
/* 33 */ vector<restriction>, \
90-
/* 34 */ vector<vector<restriction>>, \
91-
/* 35 */ variant_assert_argument_type
62+
/* 6 */ fc::sha1, \
63+
/* 7 */ fc::sha256, \
64+
/* 8 */ fc::ripemd160, \
65+
/* 9 */ fc::hash160, \
66+
/* 10 */ account_id_type, \
67+
/* 11 */ asset_id_type, \
68+
/* 12 */ htlc_id_type, \
69+
/* 13 */ committee_member_id_type, \
70+
/* 14 */ witness_id_type, \
71+
/* 15 */ limit_order_id_type, \
72+
/* 16 */ proposal_id_type, \
73+
/* 17 */ withdraw_permission_id_type, \
74+
/* 18 */ vesting_balance_id_type, \
75+
/* 19 */ balance_id_type, \
76+
/* 20 */ flat_set<bool>, \
77+
/* 21 */ flat_set<int64_t>, \
78+
/* 22 */ flat_set<string>, \
79+
/* 23 */ flat_set<time_point_sec>, \
80+
/* 24 */ flat_set<public_key_type>, \
81+
/* 25 */ flat_set<fc::sha256>, \
82+
/* 26 */ flat_set<account_id_type>, \
83+
/* 27 */ flat_set<asset_id_type>, \
84+
/* 28 */ flat_set<htlc_id_type>, \
85+
/* 29 */ flat_set<committee_member_id_type>, \
86+
/* 30 */ flat_set<witness_id_type>, \
87+
/* 31 */ flat_set<limit_order_id_type>, \
88+
/* 32 */ flat_set<proposal_id_type>, \
89+
/* 33 */ flat_set<withdraw_permission_id_type>, \
90+
/* 34 */ flat_set<vesting_balance_id_type>, \
91+
/* 35 */ flat_set<balance_id_type>, \
92+
/* 36 */ vector<restriction>, \
93+
/* 37 */ vector<vector<restriction>>, \
94+
/* 38 */ variant_assert_argument_type
9295

9396
using argument_type = fc::static_variant<GRAPHENE_OP_RESTRICTION_ARGUMENTS_VARIADIC>;
9497

0 commit comments

Comments
 (0)