#308 List of active SONs per sidechain #672

Merged
serkixenos merged 17 commits from feature/308-multiple-lists-of-active-SON into feature/son-for-hive-voting 2022-04-07 19:06:07 +00:00
Showing only changes of commit 0d74fcf675 - Show all commits

View file

@ -71,7 +71,14 @@ namespace graphene { namespace chain {
public_key_type signing_key;
vesting_balance_id_type pay_vb;
son_statistics_id_type statistics;
flat_map<sidechain_type, son_status> statuses;
//! Fixme - delete sidechain type from here
flat_map<sidechain_type, son_status> statuses = []()
{
flat_map<sidechain_type, son_status> statuses;
statuses[sidechain_type::bitcoin] = son_status::inactive;
statuses[sidechain_type::hive] = son_status::inactive;
return statuses;
}();
flat_map<sidechain_type, string> sidechain_public_keys;
void pay_son_fee(share_type pay, database& db);