Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
powerup.cpp File Reference
#include <sysio.system/sysio.system.hpp>
#include <sysio/action.hpp>
#include <sysio.system/powerup.results.hpp>
#include <algorithm>
#include <cmath>
Include dependency graph for powerup.cpp:

Go to the source code of this file.

Namespaces

namespace  sysiosystem
 

Functions

void sysiosystem::update_weight (time_point_sec now, powerup_state_resource &res, int64_t &delta_available)
 
void sysiosystem::update_utilization (time_point_sec now, powerup_state_resource &res)
 
int64_t sysiosystem::calc_powerup_fee (const powerup_state_resource &state, int64_t utilization_increase)