feat(rpc): add documentation for calculate_reward_percentiles (#4413)

This commit is contained in:
Thomas Coratger
2023-08-31 00:02:53 +02:00
committed by GitHub
parent 5d9b3d8ab7
commit 05d38dd476

View File

@@ -132,7 +132,11 @@ where
})
}
// todo: docs
/// Calculates reward percentiles for transactions in a block header.
/// Given a list of percentiles and a sealed block header, this function computes
/// the corresponding rewards for the transactions at each percentile.
///
/// The results are returned as a vector of U256 values.
async fn calculate_reward_percentiles(
&self,
percentiles: &[f64],