Skip to main content

prepare_block_timestamp

Function prepare_block_timestamp 

Source
pub(super) fn prepare_block_timestamp(
    db: &dyn DatabaseRef<Error = DatabaseError>,
    time: &TimeManager,
    parent_timestamp: u64,
) -> Result<PendingBlockTimestamp, DatabaseError>
Available on crate feature base only.
Expand description

Prepares the whole-second carry and explicit time controls for a Denim child block.