summaryrefslogtreecommitdiff
path: root/doc/dev/notes
Commit message (Collapse)AuthorAgeFilesLines
* Fix typosDimitris Apostolou2024-09-031-2/+2
|
* Merge branch 'torclient-doc' into 'main'gabi-2502024-08-151-0/+111
|\ | | | | | | | | doc/dev/notes: keymgr-porcelain: Add note about moving keymgr functions out of TorClient. See merge request tpo/core/arti!2314
| * doc/dev/notes: keymgr-porcelain: Add note about alternative API.Gabriela Moldovan2024-08-141-0/+12
| |
| * doc/dev/notes: keymgr-porcelain: Add note about moving keymgr functions out ↵Gabriela Moldovan2024-08-061-0/+99
| | | | | | | | | | | | of TorClient. This would a possible long-term fix for #1496.
* | dov/dev/notes: Add note about live reloads in restricted discovery mode.Gabriela Moldovan2024-08-121-0/+243
|/ | | | | | | | | | | | | | | | | This describes a couple of options for extending the config reloading logic to support watching for changes in the `restricted_disovery.key_dirs` directories. Note: the options we have here are, in a sense, two extremes * one is about refactoring some of the existing code into a reusable component, and leaving most of the configuration logic unchanged * the other involves rethinking the entire config watching/reloading mechanism to support watching for changes in arbitrary directories I am leaning towards the simpler option, because I'm not sure the other one is worth the added complexity (we currently only have a single use case for it).
* rpc: Remove RpcError data field and use ReportNick Mathewson2024-07-251-26/+44
| | | | | | | | | | | | Per discussion, this field isn't really specified in a way that lets us fill it sensibly at the moment. So for now, we're going to just omit it. Additionally, we said that we'd Report on our errors; this branch changes the implementation of RpcError to do that. Question: Will the blanket implementation for Into<RpcError> make it harder to re-add a Data field later on if we want to do so?
* rpc: split "method not found"Nick Mathewson2024-07-251-1/+2
| | | | | We've wanted separate error codes for "no such method exists" and "this method exists, but this object doesn't have it."
* Tests and documentation about NULs in the RPC stream.Nick Mathewson2024-07-161-0/+4
|
* doc/dev/notes: vanguards: Make client rend circuits be STUB+.Gabriela Moldovan2024-06-251-1/+1
| | | | | | | | | According to the [vanguards spec], client rendezvous circuits should be STUB+: * lite: `C -> G -> L2 -> Rend` * full: `C -> G -> L2 -> L3 -> Rend` [vanguards spec]: https://gitlab.torproject.org/tpo/core/torspec/-/blob/e5ace3667dcbbf893c6b632fd4e3f16114fd2a0e/spec/vanguards-spec/index.md
* relay-sketch: Add a link to 1454.Nick Mathewson2024-05-301-0/+3
|
* Add ticket links to relay-sketch.mdNick Mathewson2024-05-301-22/+53
|
* relay-sketch: Incorporate notes from Lisbon meeting.Nick Mathewson2024-05-301-2/+33
|
* tor-memtrack: Remove low-level part from memory-limit.mdIan Jackson2024-04-231-176/+0
| | | | This part io now implemented.
* memtrack docs: Move overview to lib.rsIan Jackson2024-04-231-91/+0
|
* Sketch out first stages of work on relay support.Nick Mathewson2024-04-021-0/+174
| | | | | | | | @ahf asked me to try to outline what we should do in order to start out here, so I'm putting this in. It should cover us for a few months. This is by no means final; I'm just looking for initial comment.
* fix: fix typosDimitris Apostolou2024-03-095-22/+22
|
* Merge branch 'memory' into 'main'Ian Jackson2024-03-071-0/+478
|\ | | | | | | | | doc/dev/notes: First cut at memory limit design sketch See merge request tpo/core/arti!1997
| * doc/dev/notes: memory limit: Rename register_participant from new_...Ian Jackson2024-03-071-2/+2
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3003539
| * doc/dev/notes: memory limit: Fix a CloneIan Jackson2024-03-071-1/+1
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3003538
| * doc/dev/notes: memory limit: Do collapse notifications with lock releasedIan Jackson2024-03-071-2/+3
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001743
| * doc/dev/notes: memory limit: Add a note about possible lintsIan Jackson2024-03-071-0/+6
| | | | | | | | Suggested-by: trinity-1686a
| * doc/dev/notes: memory limit: Add a note about missing considerationsIan Jackson2024-03-071-0/+9
| | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001998
| * doc/dev/notes: memory limit: Document accounting invariantsIan Jackson2024-03-071-2/+10
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001995
| * doc/dev/notes: memory limit: Make local_quota a usizeIan Jackson2024-03-071-1/+3
| | | | | | | | | | | | | | Write a comment about the bound. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001992
| * doc/dev/notes: memory limit: Say to roll our own PeekableIan Jackson2024-03-071-0/+1
| | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001990
| * doc/dev/notes: memory limit: Fix repeated typoIan Jackson2024-03-071-3/+3
| | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001990
| * doc/dev/notes: memory limit: Add not about circular account parentshipIan Jackson2024-03-071-0/+6
| | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997/diffs#3206bf44a587a8b987ce56d7e15a1c076cf3d27c_0_263
| * doc/dev/notes: memory limit: Notes re partial collapsingIan Jackson2024-03-071-3/+9
| | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001745
| * doc/dev/notes: memory limit: Sort out ownershipIan Jackson2024-03-071-1/+62
| |
| * doc/dev/notes: memory limit: Reintroduce ParticipationIan Jackson2024-03-071-32/+37
| | | | | | | | And make ParticipantId private.
| * doc/dev/notes: memory limit: Minor whitespace fixesIan Jackson2024-03-071-3/+3
| |
| * doc/dev/notes: memory limit: Fix Account/Participant xrefIan Jackson2024-03-071-1/+1
| |
| * doc/dev/notes: memory limit: Reclaim can be async nowIan Jackson2024-03-071-24/+22
| |
| * doc/dev/notes: memory limit: Release tracker lock while reclaimingIan Jackson2024-03-071-12/+14
| | | | | | | | Otherwise we could deadlock on the tracker lock.
| * doc/dev/notes: memory limit: Uee Arc<dyn Participant>Ian Jackson2024-03-071-5/+6
| | | | | | | | | | Prompted by need to avoid deadlock hazard by releasing the tracker lock while callimg reclaim.
| * doc/dev/notes: memory limit: Document what RoughTime means hereIan Jackson2024-03-071-0/+3
| |
| * doc/dev/notes: memory limit: bounded and UndboundedIan Jackson2024-03-071-1/+6
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001737
| * doc/dev/notes: memory limit: Add a note about reclamation strategyIan Jackson2024-03-071-0/+2
| | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001736
| * doc/dev/notes: memory limit: Rename ARecord fro m PRecordIan Jackson2024-03-071-5/+5
| |
| * doc/dev/notes: memory limit: Fix participant lifecycle (etc.)Ian Jackson2024-03-071-6/+23
| |
| * doc/dev/notes: memory limit: Use Account in queue APIIan Jackson2024-03-071-3/+2
| |
| * doc/dev/notes: memory limit: Use Account in queue APIIan Jackson2024-03-071-10/+8
| |
| * doc/dev/notes: memory limit: Multiple participantsIan Jackson2024-03-071-3/+10
| | | | | | | | Changed the data structure sketch and API only, so far.
| * doc/dev/notes: memory limit: Add doc for conceptsIan Jackson2024-03-071-0/+18
| |
| * doc/dev/notes: memory limit: Descripe Account's CloneIan Jackson2024-03-071-0/+3
| |
| * doc/dev/notes: memory limit: Rename Partipation to AccountIan Jackson2024-03-071-30/+30
| | | | | | | | | | This will allow us to have multiple Participants per (conceptual) Account.
| * doc/dev/notes: memory limit: Change to memory_cost() nameIan Jackson2024-03-071-2/+2
| | | | | | | | | | Suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_2998975
| * doc/dev/notes: memory limit: Discusss cachesIan Jackson2024-03-071-2/+31
| |
| * doc/dev/notes: memory limit: Misc fixesIan Jackson2024-03-071-4/+6
| |
| * doc/dev/notes: memory limit: UntabifyIan Jackson2024-03-071-73/+73
| |