summaryrefslogtreecommitdiff
path: root/crates/tor-chanmgr/src/mgr
Commit message (Collapse)AuthorAgeFilesLines
* clippy: Consolidate many lints in maint/add_warningIan Jackson2022-06-241-0/+3
| | | | | | Found these by disabling the nightly dbg macro special case. Now, we have a mechanism for globally adding suppressions to tests, we can use that instead.
* maint/add_warning: Add two lints via add_warning as a test caseIan Jackson2022-06-241-0/+2
|
* maint/add_warning: Add ability maintain test lint blocksIan Jackson2022-06-241-0/+3
|
* channel padding: Rename ChannelsParams from ChannelsConfigIan Jackson2022-06-211-27/+27
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/586#note_2814276 Change names and comments and docs everywhere.
* channel padding: Use IntegerMilliseconds in netdirIan Jackson2022-06-211-12/+10
|
* channel padding: Use IntegerMilliseconds in padding::ParametersIan Jackson2022-06-211-10/+15
|
* channel padding parameters update: Drop a redundant cloneIan Jackson2022-06-211-1/+1
|
* Fix typoseta2022-06-211-2/+2
|
* channel padding: Test timeout updatesIan Jackson2022-06-211-0/+49
|
* tor-chanmgr tests: Add config_update tracking to FakeChannelIan Jackson2022-06-211-1/+7
|
* channel padding: Honour NetDir for timeoutsIan Jackson2022-06-211-3/+47
| | | | But padding is still not enabled by default.
* channel padding: Plumb settings from chanmgrIan Jackson2022-06-211-0/+79
|
* chanmgr: inner (map): Reorganise to prepare for having more stateIan Jackson2022-06-211-14/+27
| | | | | | The main copy of the (global) configuration for the client's channels is going to have to live here, inside this mutex. So this really needs to become a struct with names fields.
* tor-chanmgr: tests: Have unwrap_open return a (mut) referenceIan Jackson2022-06-211-2/+2
| | | | | This avoids confusing bugs where you try to modify the result and nothing happens!
* tor-chanmgr: use Bug types.Nick Mathewson2022-02-161-3/+6
|
* Fix typosDimitris Apostolou2022-02-101-1/+1
|
* Clean up ChannelState ready_to_expireYuan Lyu2022-02-061-10/+9
|
* Expire channels that have been unused for too longYuan Lyu2022-02-041-11/+137
|
* chanmgr: get rid of Arc around ChannelIan Jackson2022-01-131-11/+10
|
* Remove #![allow_unused] in tor_chanmgr::mgrNick Mathewson2021-10-211-0/+3
|
* fix/silence clippy lints in test modulesDaniel Eades2021-09-081-0/+1
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+309
This will cause some pain for now, but now is really the best time to do this kind of thing.