We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82900f1 commit ab611cbCopy full SHA for ab611cb
node/src/block_producer/mod.rs
@@ -175,14 +175,6 @@ pub fn next_epoch_first_slot(global_slot: &v2::ConsensusGlobalSlotStableV1) -> u
175
.expect("overflow")
176
}
177
178
-// Returns the epoch number and whether it is the last slot of the epoch
179
-// pub fn epoch_with_bounds(global_slot: u32) -> (u32, bool) {
180
-// // let epoch_bound = |global_slot| -> (u32, bool) {
181
-// // (global_slot / SLOTS_PER_EPOCH, (global_slot + 1) % SLOTS_PER_EPOCH == 0)
182
-// // };
183
-
184
-// }
185
186
impl BlockWithoutProof {
187
pub fn with_hash_and_proof(
188
self,
0 commit comments