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
0426624dcb
refactor: Assign malloc return to a local variable first.
2024-01-10 11:46:41 +00:00
iphydf
fad6e4e173
cleanup: Make all .c files include the headers they need.
2023-12-27 01:21:47 +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