| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Allow building tor-persist for WASM | Jani Monoses | 2021-10-01 | 2 | -1/+5 | |
| | | | ||||||
| * | | Clarify why we use a dyn pointer for StorageHandle. | Nick Mathewson | 2021-09-30 | 1 | -1/+7 | |
| | | | ||||||
| * | | Use StorageHandle in tor_circmgr. | Nick Mathewson | 2021-09-30 | 3 | -70/+15 | |
| | | | ||||||
| * | | remote unused tor-persist/src/config.rs | Nick Mathewson | 2021-09-30 | 1 | -10/+0 | |
| | | | ||||||
| * | | Add tests for tor-persist object-safe wrapper. | Nick Mathewson | 2021-09-30 | 1 | -0/+34 | |
| | | | ||||||
| * | | tor-persist: Add a testing-only state manager that doesn't use disk | Nick Mathewson | 2021-09-30 | 3 | -0/+174 | |
| | | | ||||||
| * | | Move FsStatemgr to an inner module. | Nick Mathewson | 2021-09-30 | 2 | -187/+194 | |
| | | | ||||||
| * | | Add an object-safe wrapper for StateMgr. | Nick Mathewson | 2021-09-30 | 2 | -0/+98 | |
| | | | | | | | | | | | This is an attempt to uplift the trick that tor-circgmr is currently using, since we'll want it in tor-guardmgr too. | |||||
| * | | Ensure pick_n_relays returns relays in random order. | Nick Mathewson | 2021-09-29 | 1 | -3/+5 | |
| | | | | | | | | | (Also, fix a test) | |||||
| * | | tor-netdir: Add RelayWeight type and accessors. | Nick Mathewson | 2021-09-29 | 3 | -0/+130 | |
| | | | | | | | | | | | I'm not thrilled with this code, but I think it's needed to implement guards correctly. | |||||
| * | | tor_netdir::testnet: Correct a documentation error. | Nick Mathewson | 2021-09-29 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-netdir: Add some accessor that guardmgr will need. | Nick Mathewson | 2021-09-29 | 1 | -2/+67 | |
| | | | | | | | | | | | | | | | | | We'll need `id_pair_is_listed()` to track whether a sampled guard is (or is not) listed in the consensus. We'll need `missing_descriptor_for` to see whether we've downloaded enough microdescs to use a consensus. | |||||
| * | | Typo fix in comment. | Nick Mathewson | 2021-09-29 | 1 | -1/+1 | |
| | | | ||||||
| * | | add basic integration test | Trinity Pointard | 2021-09-27 | 1 | -0/+24 | |
| | | | ||||||
| * | | Run cargo update on other dependencies. | Nick Mathewson | 2021-09-25 | 1 | -4/+4 | |
| | | | ||||||
| * | | update fslock to compile android | Trinity Pointard | 2021-09-25 | 4 | -12/+5 | |
| | | | ||||||
| * | | Run cargo upate. | Nick Mathewson | 2021-09-23 | 1 | -12/+12 | |
| | | | ||||||
| * | | Upgrade memmap2, directories, and dirs dependencies. | Nick Mathewson | 2021-09-23 | 4 | -10/+10 | |
| | | | ||||||
| * | | refactor a bit reproducible_build.sh | Trinity Pointard | 2021-09-20 | 1 | -57/+56 | |
| | | | ||||||
| * | | try use cache and make MacOS bin available as artifact | Trinity Pointard | 2021-09-20 | 1 | -0/+4 | |
| | | | ||||||
| * | | add reproducible builds for MacOS | Trinity Pointard | 2021-09-20 | 4 | -15/+73 | |
| | | | ||||||
| * | | Move version-controlled Cargo.lock to /. | Nick Mathewson | 2021-09-20 | 5 | -19/+2 | |
| | | | | | | | | | | | | | | | Previously I'd hoped to have it only apply to reproducible builds, but the work of keeping it up-to-date and checking it for drift seems to have been tripping us up. Let's try doing it the other way for now, and we'll see how that goes. | |||||
| * | | update lock file | Daniel Eades | 2021-09-19 | 1 | -5/+4 | |
| | | | ||||||
| * | | remove unused dep | Daniel Eades | 2021-09-19 | 1 | -1/+0 | |
| | | | ||||||
| * | | Update misc/Cargo.lock. | Nick Mathewson | 2021-09-17 | 1 | -4/+8 | |
| | | | ||||||
| * | | Enable js feature for getrandom for WASM. | Jani Monoses | 2021-09-17 | 2 | -0/+7 | |
| | | | | | | | | | By default rand does not build for WASM browser targets. | |||||
| * | | Update misc/Cargo.lock | Nick Mathewson | 2021-09-16 | 1 | -51/+50 | |
| | | | ||||||
| * | | Stop using anyhow in tor-dirclient. | Jani Monoses | 2021-09-16 | 3 | -2/+9 | |
| | | | ||||||
| * | | tor-netdir: Add a by_id_pair() function to look up a relay by both IDs. | Nick Mathewson | 2021-09-16 | 1 | -1/+21 | |
| | | | ||||||
| * | | Merge remote-tracking branch 'origin/mr/82' | Nick Mathewson | 2021-09-16 | 4 | -11/+11 | |
| |\ \ | ||||||
| | * | | Do not use set_ prefix on derive_builder setters | Jani Monoses | 2021-09-16 | 4 | -11/+11 | |
| | | | | ||||||
| * | | | Add small qualifiers on android.md | Nick Mathewson | 2021-09-16 | 1 | -0/+5 | |
| | | | | ||||||
| * | | | fix typo and change upstream link | Trinity Pointard | 2021-09-15 | 1 | -7/+6 | |
| | | | | ||||||
| * | | | document android building | Trinity Pointard | 2021-09-14 | 1 | -0/+152 | |
| |/ / | ||||||
| * | | Update maint/Cargo.lock again. | Nick Mathewson | 2021-09-13 | 1 | -8/+8 | |
| | | | ||||||
| * | | Merge remote-tracking branch 'origin/mr/80' | Nick Mathewson | 2021-09-13 | 2 | -130/+120 | |
| |\ \ | ||||||
| | * | | update misc/Cargo.lock | Trinity Pointard | 2021-09-12 | 1 | -130/+117 | |
| | | | | ||||||
| | * | | CI: make fail when new deps not in misc/Cargo.lock | Trinity Pointard | 2021-09-12 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently adding new deps can cause builds to not be reproducibles because that new dependancies don't have their versions frozen in misc/Cargo.lock. This make so CI reject commits in that situation, with a message telling what to do to fix the issue. | |||||
| * | | | derive 'Default' where possible | Daniel Eades | 2021-09-11 | 2 | -17/+2 | |
| |/ / | ||||||
| * | | Add identity-based accessors (and indices) to NetDir. | Nick Mathewson | 2021-09-10 | 1 | -36/+152 | |
| | | | | | | | | | | | | | (Thank goodness for rust; we messed up the coherency in C here so many times, but I'm pretty sure that this time around we can't have gotten it wrong.) | |||||
| * | | Merge remote-tracking branch 'origin/mr/77' | Nick Mathewson | 2021-09-10 | 3 | -12/+22 | |
| |\ \ | ||||||
| | * | | Create a separate logging section in config. | Jani Monoses | 2021-09-09 | 3 | -12/+22 | |
| | | | | ||||||
| * | | | Use derive_builder for Authority and FallbackDir. | Nick Mathewson | 2021-09-10 | 4 | -125/+23 | |
| | | | | ||||||
| * | | | Suppress a cognitive-complexity lint in tests | Nick Mathewson | 2021-09-09 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | Typo fixes | Nick Mathewson | 2021-09-09 | 5 | -11/+11 | |
| | | | | ||||||
| * | | | Add guard-related network parameters. | Nick Mathewson | 2021-09-09 | 1 | -3/+118 | |
| | | | | ||||||
| * | | | Add an IntegerDays numeric type. | Nick Mathewson | 2021-09-09 | 1 | -0/+54 | |
| | | | | ||||||
| * | | | Use macros and traits to simplify the declaration of parameters. | Nick Mathewson | 2021-09-09 | 2 | -135/+173 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we'd have to declare the field for a parameter in one place, its default in a second, and its consensus key in a third. That's error-prone and not so fun! This patch changes the way we declare parameters so that we declare a structure once, and macros expand it to all do the right thing. This required a few new traits and implementations to ensure uniformity across the types that can go in parameters: We need every parameter type to implement TryFrom<i32> and to implement SaturatingFromInt32. Eventually we might want SaturatingFromInt32 to be a more generic SaturatingFrom, but that's not for now. | |||||
| * | | | Use derive_builder for the rest of tor_dirmgr::config | Nick Mathewson | 2021-09-09 | 2 | -83/+24 | |
| | | | | ||||||
| * | | | Use derive_builder for DownloadScheduleConfig | Nick Mathewson | 2021-09-08 | 1 | -66/+7 | |
| | | | | ||||||
