Struct lightning_signer::signer::ClockStartingTimeFactory
source · pub struct ClockStartingTimeFactory {}
Expand description
A starting time factory which uses a hi-res tstamp for entropy
Implementations§
source§impl ClockStartingTimeFactory
impl ClockStartingTimeFactory
sourcepub fn new() -> Arc<dyn StartingTimeFactory>
pub fn new() -> Arc<dyn StartingTimeFactory>
Create a ClockStartingTimeFactory
Trait Implementations§
source§impl StartingTimeFactory for ClockStartingTimeFactory
impl StartingTimeFactory for ClockStartingTimeFactory
source§fn starting_time(&self) -> (u64, u32)
fn starting_time(&self) -> (u64, u32)
Generate unique entropy