Commit Graph

11 Commits

Author SHA1 Message Date
LKLY 5d8c9073ba Merge pull request #20 from lklynet/feature/ephemeral-chat
feat: ephemeral p2p chat
2026-01-05 19:46:29 -05:00
Ricardo Boss b1046df7d6 feat: allow gradual increase of POW 2026-01-03 19:22:32 +01:00
lklynet 0ca471ab29 chat can be minimized. Added direct connections heatmap. 2026-01-03 11:29:44 -05:00
Fernando Campione 884ed1b302 merge main into branch and fix conflicts 2026-01-03 07:58:10 +00:00
fccview b88de139d7 Merge pull request #17 from kiliantyler/feat/lru-cache
Merging so we can fix conflicts before the chat MR, this looks good to me and works fine
2026-01-03 07:42:08 +00:00
lklynet 5be3659b57 feat: implement ephemeral p2p chat with rate limiting and terminal UI 2026-01-03 00:24:13 -05:00
lklynet a37f282c23 feat(p2p): I added a connection rotation and limited max connections
Implement connection rotation to periodically close oldest connections when exceeding half of MAX_CONNECTIONS. Also enforce MAX_CONNECTIONS limit by rejecting new connections when limit is reached (32). This improves network stability and resource management.

I also changed max relay hops from 3 to 2.

With the connection rotation I think these more conservative numbers should suffice and save on resources.
2026-01-02 22:02:27 -05:00
Kilian Tyler 66e197f77e feat(config): Increase max peer limit 2026-01-02 20:21:47 -05:00
Kilian Tyler 629183c82e feat(peers): Implement LRU and unique peer count 2026-01-02 20:13:07 -05:00
Fernando Campione 38db5374bc fix conflicts and create a class for Hyperloglog to keep with the refactored architecture 2026-01-02 20:59:11 +00:00
Fernando Campione b5b646a68f Ehm.. refactor much? sorry 2026-01-02 20:35:17 +00:00