pub fn create_puzzle(
payload: &Payload,
unlock_at: DateTime<Utc>,
squarings_per_sec: u64,
) -> Result<TimeLockPuzzle, TimeLockError>Expand description
Create a time-lock puzzle for the given payload.
ยงErrors
Returns TimeLockError::ComputationFailed if puzzle generation fails.