def gen_timestamp():
    """The Unix time, rounded to the nearest second.
        See https://en.wikipedia.org/wiki/Unix_time

        Returns:
            str: the Unix time
    """
    return str(round(time.time()))
The Unix time, rounded to the nearest second.
See https://en.wikipedia.org/wiki/Unix_time

Returns:
str: the Unix time
bigchaindb/common/utils.py