iphydf
6f735b51be
chore: Happy new year 2026!
2026-01-27 22:35:47 +00:00
iphydf
72452f2aeb
test: Add some more tests for onion and shared key cache.
...
Also some other cleanups.
2026-01-13 23:43:56 +00:00
iphydf
40b3f0b463
refactor: Use clang's nullability qualifiers instead of attributes.
2025-07-13 00:26:24 +00:00
iphydf
f81e30679b
refactor: Use per-parameter nullability annotations.
...
This is less error-prone.
2025-07-12 09:20:18 +00:00
iphydf
bc43cec062
chore: Happy new year!
2025-01-05 23:24:52 +00:00
iphydf
4e2dba4d9f
chore: Reformat sources with astyle.
...
Restyled astyle is fixed now.
2024-02-02 01:31:32 +00:00
iphydf
511bfe39c8
cleanup: Use Bazel modules to enforce proper #include hygiene.
2024-01-30 23:51:43 +00:00
iphydf
1cdcf938b9
cleanup: Add comment after every #endif.
...
This makes far-away endifs clearer, so we're applying the rule to all
endifs to be consistent.
2024-01-23 21:52:41 +00:00
iphydf
028b017d79
perf: Slightly reduce bandwidth usage when there are few nodes.
...
This mainly saves spam in test logs, but may save some packets here and
there, if nodes are randomly selected twice for GET_NODES and onion
routing packets.
2023-12-18 16:23:45 +00:00
iphydf
a549807df7
refactor: Add mem module to allow tests to override allocators.
...
This will allow us to do more interesting things with memory allocation
within toxcore, and allow fuzzers to explore various allocation failure
paths.
2023-08-30 22:55:05 +00:00
sudden6
8c7d30475f
refactor: re-implement shared key cache in separate file
...
The exisiting implementation is not clearly documented and used by
multiple modules.
2022-11-22 23:43:05 +01:00