checkTimestamp(nonce_string,
allowed_skew=18000,
now=None)
| source code
|
Is the timestamp that is part of the specified nonce string within the
allowed clock-skew of the current time?
- Parameters:
nonce_string (str) - The nonce that is being checked
allowed_skew (int) - How many seconds should be allowed for completing the request,
allowing for clock skew.
now (int) - The current time, as a Unix timestamp
- Returns: bool
- Whether the timestamp is correctly formatted and within the
allowed skew of the current time.
|