110 Commits

Author SHA1 Message Date
8673c63d3c close rw on completion 2025-03-16 11:57:52 +01:00
a094a3d574 move to read only memory mapped files 2025-03-15 19:54:45 +01:00
f5f7f2ca9d close files of inactive tranfsers 2025-03-14 13:50:30 +01:00
dacda24390 port to contact4 (not using events yet) 2025-03-10 15:09:45 +01:00
7a54552bd2 print mapping error message 2025-03-03 21:08:49 +01:00
1780bd097a error checks around performing the resize
this throws on windows and causes undefined mappings on linux
2025-01-24 00:27:58 +01:00
db73c90e34 small optimizations and os backend refactor 2025-01-18 01:44:46 +01:00
a9ebaa2c2f improve perf (was ~.7% with asan enabled) 2025-01-09 01:53:17 +01:00
b3b8b79a65 time moved to util 2025-01-07 16:10:28 +01:00
6d7d643207 adjust flow to iterate speed
higher ft1sha1 iterate interval (not fixing it yet)
2024-12-16 12:52:33 +01:00
b35babe3f8 switch to os provided remote have set and other fixes 2024-12-15 01:23:08 +01:00
78390dd342 update object, object update lock and rare crash 2024-12-13 01:30:03 +01:00
eb169b2779 add participation and log spam fix 2024-12-11 23:23:05 +01:00
100279a483 fixes 2024-12-10 17:57:53 +01:00
60b3d5d941 big ft fixes, mostly for info, but also other stuff 2024-12-10 17:18:28 +01:00
930c829031 rizzler working, more fixes everywhere
there still are some crashes that needs workarounds
2024-12-09 22:58:36 +01:00
adeaca4efe early out have when we have all 2024-12-06 16:36:02 +01:00
b9a7c75d20 hs: progess on the log file generator, fully written but untested
ft: timeout changes and wording fixes
2024-12-05 23:06:44 +01:00
04b6f7925a use cache for group peer to contact lookup (~5% cpu) 2024-12-02 14:27:39 +01:00
5601ad91f5 a bunch of allocation optimizations 2024-12-02 13:08:47 +01:00
741f1428d3 updated spec to 2.1, changed almost everything
other small fixes
2024-11-28 12:59:14 +01:00
34dc01d4dc fix chunk picker round robin actually working
(worked kinda bc of bug before)
make priority dynamic and fix skipping to make it work too
2024-11-22 13:51:48 +01:00
37b92f67c8 respect voice state for receiving file messages
we should also check on send in the future
2024-11-06 10:50:42 +01:00
6f2fa60394 handle init2 in ft1 (hacky) 2024-10-30 11:25:33 +01:00
b4eaf86ed1 dynamically choose chunk size 2024-10-28 23:23:05 +01:00
c7485c4577 use sr 2024-10-24 14:00:16 +02:00
5e884fd3ee dont delay recv_done and check on init info 2024-10-23 13:46:00 +02:00
9a4be575ba minor stuff and logging 2024-10-23 12:51:22 +02:00
fd094b157f more 32bit stuff 2024-10-20 18:37:01 +02:00
4360b65309 update to rmmi 2024-10-06 11:37:07 +02:00
1d7416efed fix rare assert 2024-08-08 23:52:36 +02:00
60d6f27a12 disable sending timeout assert, we believe the underlying ngcft1 2024-08-04 10:15:26 +02:00
07099e4832 tag chunkpicker for update more often 2024-08-04 10:14:59 +02:00
9e2911b36c spread chosen chunks more thinly if small files
should help (a little) if many small files with distribution
2024-08-02 13:06:55 +02:00
6da1f9afca info fixes, should investigate more 2024-07-31 18:34:14 +02:00
8bd2c925a6 fix missized local have bitset 2024-07-25 14:57:27 +02:00
da406714ff adopt to new os and message file refactor 2024-07-24 17:55:31 +02:00
16cb755191 fix dangerous unchecked file stream read 2024-07-22 19:49:02 +02:00
54ace9d0b2 and use new backend code (partially transitioned to os backend) 2024-07-17 17:17:07 +02:00
e50e74e12f add os backend and add threaded hashing
still meh but nicer
2024-07-17 17:13:32 +02:00
f730844771 abstract aways file2rwmapped construction to lower visibility 2024-07-15 17:44:30 +02:00
3fcfbc11a4 reduce includes and some scope
hopefully fixes the windows obj being too large
2024-07-15 16:38:33 +02:00
0b2fa40cb9 lower rat on join
TODO: its indescriminate, only announce to fresh peers
2024-07-15 14:38:53 +02:00
489556e322 fix front access to empty array
and increase send timeout assert
2024-07-15 11:48:16 +02:00
10756e13ce small fixes 2024-07-14 20:11:37 +02:00
74414d0999 re annouce with exponential back-off 2024-07-14 12:38:00 +02:00
bc5599a230 refactor sending transfers the same way as receiving 2024-07-13 13:52:43 +02:00
ca89e43a40 refactor extract chunk picker systems 2024-07-13 12:36:49 +02:00
dd04e6131a transfer stats 2024-07-13 11:46:33 +02:00
31253f5708 tweak ft max numbers and add stats comp 2024-07-12 15:04:49 +02:00