This commit is contained in:
dapplion
2025-06-12 15:45:36 +02:00
parent 8c8a8124ee
commit 56fcf289ec
3 changed files with 11 additions and 17 deletions

View File

@@ -248,6 +248,10 @@ impl<E: EthSpec> NetworkGlobals<E> {
}
}
pub fn sampling_columns_count(&self) -> usize {
self.sampling_columns.read().len()
}
pub fn sampling_columns(&self) -> HashSet<ColumnIndex> {
self.sampling_columns.read().clone()
}