<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hscrypto/src/time.rs, branch arti-v1.1.10</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.10</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.10'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-10-19T10:53:43Z</updated>
<entry>
<title>tor-hscrypto: Add a new constructor and an accessor for TimePeriod.</title>
<updated>2023-10-19T10:53:43Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-11T15:29:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e8aaa3fdd5040554cb9ffcf3e23aacaf97af58ec'/>
<id>urn:sha1:e8aaa3fdd5040554cb9ffcf3e23aacaf97af58ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hscrypto: Rename offset_in_sec to epoch_offset_in_sec.</title>
<updated>2023-10-19T10:53:43Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-16T16:10:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ebc853d29b02a5ef70acafdb775a35143c0d3d41'/>
<id>urn:sha1:ebc853d29b02a5ef70acafdb775a35143c0d3d41</id>
<content type='text'>
This renaming aims to make it clearer that this offset is _not_ the time
between start of the epoch and the start of this time period, but rather
the delta between our epoch and the Unix epoch, in seconds.
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning to actually apply new lint allows</title>
<updated>2023-07-10T12:49:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-10T11:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=473447a82e099fd52a674c28f5bc24b3e05208c0'/>
<id>urn:sha1:473447a82e099fd52a674c28f5bc24b3e05208c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hscrypto: fix TODOs in time-period code.</title>
<updated>2023-06-13T16:39:52Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-13T16:37:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0add7df458f36831723e1679bfe4681b94d15042'/>
<id>urn:sha1:0add7df458f36831723e1679bfe4681b94d15042</id>
<content type='text'>
* Return a more informative error type (instead of Option)
* Check that time periods are an integer number of seconds
* Decide not to change the semantics of an argument.
</content>
</entry>
<entry>
<title>hscrypto: remove compatibility note about time periods.</title>
<updated>2023-06-13T16:20:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-13T16:20:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a4dac0fa0763a747e0ed709dbe6f51df1861df1'/>
<id>urn:sha1:0a4dac0fa0763a747e0ed709dbe6f51df1861df1</id>
<content type='text'>
We updated and clarified the spec in arti!107, and noted the
remaining infelicities in proposal 342.
</content>
</entry>
<entry>
<title>hs time handling: Make TimePeriod contain length as IntegerMinutes</title>
<updated>2023-02-09T12:56:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-08T17:35:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4626ccfcaaf71ee364e71447b2a548d5f3f504c4'/>
<id>urn:sha1:4626ccfcaaf71ee364e71447b2a548d5f3f504c4</id>
<content type='text'>
Locally, the only functional effect is that now we refuse to handle
non-whole-number-of-minutes lengths - but since the consensus
parameter can't represent those, there's no overall functional change.
</content>
</entry>
<entry>
<title>netdir: Implement ring-param constructors and time period accessors</title>
<updated>2023-01-28T17:43:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-24T15:46:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5236c5cf887af0bd321ca80fb6dba991289549d6'/>
<id>urn:sha1:5236c5cf887af0bd321ca80fb6dba991289549d6</id>
<content type='text'>
This logic is a bit tricky, so I've tried to document it and add
fairly good tests.  The silver lining is that the external API for
all of this logic will make it invisible and hidden.

There are some cases where I added functions that I think might
eventually get lowered into MdConsensus: But I don't want to lower
too much right now, since the convention for our netdoc accessors is
that they are fairly unsophisticated, and they show you the document
as it is.

Closes #686
</content>
</entry>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>hscrypto: add a note about maybe replacing epoch_offset with voting_interval</title>
<updated>2023-01-25T19:15:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-25T19:15:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b4c4a212977c81d1e297cba4bf954d81b9b89e36'/>
<id>urn:sha1:b4c4a212977c81d1e297cba4bf954d81b9b89e36</id>
<content type='text'>
</content>
</entry>
</feed>
