Function eosio_sys::set_resource_limits
source · pub unsafe extern "C" fn set_resource_limits(
account: capi_name,
ram_bytes: i64,
net_weight: i64,
cpu_weight: i64
)
Expand description
@brief Set the resource limits of an account Set the resource limits of an account @param account - name of the account whose resource limit to be set @param ram_bytes - ram limit in absolute bytes @param net_weight - fractionally proportionate net limit of available resources based on (weight / total_weight_of_all_accounts) @param cpu_weight - fractionally proportionate cpu limit of available resources based on (weight / total_weight_of_all_accounts)