Function solana_runtime::bank::calculate_data_size_delta
source · fn calculate_data_size_delta(old_data_size: usize, new_data_size: usize) -> i64
Expand description
Compute how much an account has changed size. This function is useful when the data size delta
needs to be computed and passed to an update_accounts_data_size_delta
function.