Commit graph

106 commits

Author SHA1 Message Date
Mark Qvist
fa9fd2ae01 Added remote status and control by allow-list for lxmd 2025-11-01 13:10:28 +01:00
Mark Qvist
b35b9213a6 Implemented throttling for naughty propagation node peers 2025-11-01 01:35:15 +01:00
Mark Qvist
df6271a026 Handle client message download for stamped propagation messages 2025-11-01 00:10:30 +01:00
Mark Qvist
0a5edb2895 Implemented propagation node name configuration and inclusion in announce metadata 2025-10-31 22:24:55 +01:00
Mark Qvist
704b37dc16 Implemented client-side propagation stamp generation and inclusion in outbound propagation messages 2025-10-31 21:45:40 +01:00
Mark Qvist
606a723e31 Implemented getting static peer configuration from network if unknown at launch 2025-10-31 17:11:17 +01:00
Mark Qvist
a44c1f368a Validate peering key on incoming sync offer 2025-10-31 17:02:34 +01:00
Mark Qvist
434267784d Implemented propagation node peering key generation and peering cost signalling 2025-10-31 13:53:59 +01:00
Mark Qvist
9c646aead7 Stamp validation on incoming propagation node transfers 2025-10-31 02:19:24 +01:00
Mark Qvist
ebc8bb33c2 Cleanup 2025-10-31 00:28:06 +01:00
Mark Qvist
60bf99d151 Cleanup 2025-10-31 00:25:46 +01:00
Mark Qvist
c84aea745a Improved auto-peering on inbound PN sync. Added support for persisting and loading transient message stamp status. Implemented getting transient message stamp value. 2025-10-30 21:19:38 +01:00
Mark Qvist
81a6d503a3 Automatic legacy PN de-peering 2025-10-30 16:55:44 +01:00
Mark Qvist
d8b25e092f Added metadate structure to propagation node announces 2025-10-30 16:43:26 +01:00
Mark Qvist
bd6fe9f9d1 Handle propagation node stamp cost peering signalling 2025-10-30 15:39:00 +01:00
Mark Qvist
9beeafb0c8 Propagation node stamp cost handling 2025-10-30 14:08:39 +01:00
Mark Qvist
e17263d25a Cleanup 2025-10-30 12:41:18 +01:00
Mark Qvist
98347d3ad9 Increased PN peer sync frequency 2025-10-29 23:25:15 +01:00
Mark Qvist
61b75526d2 Added separate propagation node per-message and sync transfer limits. Added persistent PN sync strategy. Added concurrent PN peer sync. 2025-10-29 23:24:45 +01:00
Mark Qvist
416ccf294f Retry path request on unexpectedly closed link 2025-07-13 13:24:46 +02:00
Mark Qvist
499fe4cc53 Use no_data_for instead of inactive_for for cleaning links 2025-05-15 20:27:19 +02:00
Mark Qvist
005d71707c Cleanup 2025-04-17 13:31:00 +02:00
Mark Qvist
1ef4665073 Cleanup 2025-02-18 20:05:19 +01:00
Mark Qvist
d5540b927f Added allow_duplicate option to message ingest API 2025-01-31 13:38:56 +01:00
Mark Qvist
c0a8f3be49 Cleanup 2025-01-30 15:04:21 +01:00
Mark Qvist
9eca747757 Updated peer rotation timing to align with distribution queue mapping 2025-01-30 10:46:31 +01:00
Mark Qvist
b7b6753640 Fixed potential division by zero. Fixes #25. 2025-01-30 00:37:50 +01:00
Mark Qvist
40d0b9a5de Added acceptance rate threshold to peer rotation 2025-01-29 21:21:51 +01:00
Mark Qvist
40fc75f559 Refined peer rotation algorithm 2025-01-29 14:24:09 +01:00
Mark Qvist
f1d060a92e Added peer rotation 2025-01-29 01:26:36 +01:00
Mark Qvist
962d9c90d1 Added wanted inbound peers to PN announce data 2025-01-24 13:50:56 +01:00
Mark Qvist
aa57b16cf5 Fixed #23 2025-01-24 00:09:36 +01:00
Mark Qvist
fb4bf9b0b9 Cleanup 2025-01-23 17:36:30 +01:00
Mark Qvist
fe59b265c5 Fixed fstrings not working on Python < 3.12 2025-01-23 16:54:12 +01:00
Mark Qvist
a198e96064 Include unhandled message count in stats 2025-01-23 16:27:23 +01:00
Mark Qvist
2c71cea7a0 Added local node stats request handler 2025-01-23 14:13:08 +01:00
Mark Qvist
68257a441f Set transfer limit on reverse auto-peer 2025-01-22 09:44:03 +01:00
Mark Qvist
e69da2ed2a Added static peers and peering limit 2025-01-22 01:37:09 +01:00
Mark Qvist
c2a08ef355 Enqueue and batch process distribution queue mappings 2025-01-21 20:44:11 +01:00
Mark Qvist
1430b1ce90 Enqueue and batch process distribution queue mappings 2025-01-21 20:20:39 +01:00
Mark Qvist
7701f326d9 Memory optimisations 2025-01-21 16:33:39 +01:00
Mark Qvist
356cb6412f Optimise structure overhead 2025-01-21 10:46:59 +01:00
Mark Qvist
3948c9a187 Added message reject on too large transfer size 2025-01-18 21:36:08 +01:00
Mark Qvist
d6b1b9c94d Added ability to cancel stamp generation 2025-01-18 20:11:31 +01:00
Mark Qvist
a676954116 Added ability to cancel outbound messages 2025-01-18 19:13:43 +01:00
Mark Qvist
d97c4f292e Fixed missing checks for file corruption 2025-01-14 21:32:10 +01:00
Mark Qvist
976305b791 Sort waiting peers by sync transfer rate 2025-01-13 14:37:51 +01:00
Mark Qvist
96dddf1b3a Added handling of corrupted transient ID cache files 2024-12-23 12:36:53 +01:00
Mark Qvist
c21da895b6 Improved duplicate message detection when syncing from multiple different PNs 2024-11-23 13:20:24 +01:00
Mark Qvist
0cb771439f Fixed incorrect progress values on path waiting 2024-10-11 23:40:27 +02:00