[−][src]Function eosio_cdt_sys::set_resource_limits
pub unsafe extern "C" fn set_resource_limits(
account: capi_name,
ram_bytes: i64,
net_weight: i64,
cpu_weight: i64
)
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)