Scorum
process_witness_reward_in_sp_migration.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace scorum {
7 namespace chain {
8 namespace database_ns {
9 
13 
15 {
16 public:
17  virtual void on_apply(block_task_context&);
18 
19  void adjust_witness_reward(block_task_context&, asset& witness_reward);
20 
21 private:
22  void charge_witness_reward(block_task_context& ctx, const account_name_type& witness, const share_type& reward);
23 
24 public:
29 };
30 }
31 }
32 }
fc::safe< share_value_type > share_type
Definition: types.hpp:73
fc::fixed_string_16 account_name_type
Definition: types.hpp:62
Definition: asset.cpp:15