1014 Commits (0381f4df89125922585d845871d5c42517341e3c)
 

Author SHA1 Message Date
Evgeny 0381f4df89 Убраны TCP_TIMESTAMPS и TCP_KEEPALIVE из lwip_tcp_opts.h (не используются, конфликтовали с ws2ipdef.h на Windows) 3 months ago
Evgeny 706ef5b472 etcp_connections.h: data[0] -> data[] (C99 flexible array, fix -Wstringop-overflow) 3 months ago
Evgeny 3884af7eb8 ntp_time.h: replace netinet/in.h with platform_compat.h for Windows build 3 months ago
Evgeny 960cde3eda chatgui: add Status page in settings (NTP + connections status) 3 months ago
Evgeny f0bb03c2cf db_sync: datahash removed, Ed25519 signature mandatory, PK=(timestamp,author_signature), chain_hash includes signature, signed message=ts||json 3 months ago
Evgeny 05b24d36bb db_sync: fix dh_match premature sync complete — send tail when mc > tp+1 3 months ago
Evgeny 2792586de7 db_sync: add INFO diagnostics for message sync flow tracing 3 months ago
Evgeny db67767405 fix: demote 6 crypto diagnostic logs from INFO to DEBUG 3 months ago
Evgeny 4fa5b0361f feat: show decoded invite details (node id, address:port) in JoinDialog 3 months ago
Evgeny 55e3a7af94 fix: getInviteAddresses — use active direct-IP connections instead of DB peer list 3 months ago
Evgeny 2aa559acaf debug: add full ECDH/session-key diagnostics (6 points) 3 months ago
Evgeny cdcc32cf84 fix: move DECRYPT FAIL/collision/reinit logs from DEBUG_CATEGORY_DEBUG to proper categories 3 months ago
Evgeny 95061d3723 fix: demote INIT retry spam (link/send logs) to DEBUG_DEBUG 3 months ago
Evgeny 5b88d58dae fix: demote spam auto_connect logs to DEBUG_DEBUG 3 months ago
Evgeny f039031883 fix: check conn_queue_entry->peer_node_id instead of conn->peer_node_id 3 months ago
Evgeny c3354938e1 fix: peers_* table creation + GUI_ERROR to log + cross-connect conn reuse 3 months ago
Evgeny abee0ef3a9 chatgui: add --asan flag to build_linux.sh 3 months ago
Evgeny f3ac1cbb06 chat_sync: fix double-free in auto_connect — clear ca_state in ac_result_cb on success 3 months ago
Evgeny bfa3e666d4 fix test_uasync_socket_race: increase listen() backlog from 32 to 1024 3 months ago
Evgeny a8ce7d47b7 test_bgp_triangle: reduce keepalive_timeout from 2000ms to 200ms (10x speedup, 13.2s -> 1.27s) 3 months ago
Evgeny 3d04c37f56 stcp: add on_close callback to stcp_server_create/stcp_client_connect; member_sync: add join_ts/update_sig/update_ts fields, verify update_sig in apply; topo_node_sqlite: add join_ts/update_sig/update_ts to member_put, add member_get_join, add node_update_verified; chat_sync: include join_ts in join_msg, add update_sig/update_ts to CHANNEL_INFO_RESP; WELCOME verify join_sig; tests: use generated node_ids, reduce max ticks 3 months ago
Evgeny 0137a1bad4 chatgui: preserve input focus on chat refresh (save/restore focusWidget in loadChannel) 3 months ago
Evgeny 51d47ea6a8 chatgui: restore input focus after sending message 3 months ago
Evgeny c4d1f984bd chatgui settings: add Database tab with integrity check (quick/full) and optimize 3 months ago
Evgeny 03310db2cd test_chat_sync_stress: simplify to 20 batches, add profiling (avg per-record time, sync time, total) 3 months ago
Evgeny bb425c6722 db_sync v2: positional sync per-peer (synced_pos), datahash instead of chain_hash, no cascade on PUSH, single cascade after SEND_DATA batch, startup chain verification. PRAGMA synchronous=NORMAL + wal_autocheckpoint=10000 for performance. 3 months ago
Evgeny 0479c309bb Диагностика синхронизации: merkle_sync DEBUG_DEBUG логи обмена; убран спам auto_connect no IPv4; сохранение адреса инвайтера из ETCP; детали DECRYPT FAIL (link_state/enc_errs) 3 months ago
Evgeny 0d5a72c40e chat_sync: node_name теперь в пакетах — CHANNEL_INFO_RESP/JOIN/PEER_UPSERT передают имя, верификация использует имя из пакета (не из БД) 3 months ago
Evgeny 3f0fdad754 config_updater: поддержка создания конфига с нуля (без файла); новый файл — собирается с нуля, существующий — insert_or_replace 3 months ago
Evgeny e325b84a8e config: одно открытие файла — parse_config_from_buf вместо повторного fopen; убран read_file_to_mem 3 months ago
Evgeny ef24af7d24 Ключи: node_id из SHA-256(privkey) через весь конфиг; приоритет privkey — pubkey/node_id всегда выводятся из него; CHANNEL_INFO_RESP: верификация inviter_join_sig через ETCP-ключи 3 months ago
Evgeny da86841516 Диагностика: WARN при мутации конфига (ключи/node_id) + детали при invalid sig в JOIN/CHANNEL_INFO_RESP + предупреждение при расхождении node_id инвайта и ETCP 3 months ago
Evgeny 895eb0abbf Убрал спам-логи ETCP SEND/RECV/DECRYPT OK + добавил диагностику синхронизации мемберов (DEBUG_CATEGORY_DEBUG) в ключевые точки topo_group, merkle_sync, member_sync, chat_sync 3 months ago
Evgeny e708940bcd debug: upgrade router_deliver to DEBUG_INFO, show cb ptr 3 months ago
Evgeny d161782b46 fix: merkle_sync.c linked-list -> queue lookup, upgrade debug logs to INFO 3 months ago
Evgeny d71753fa79 debug: add diagnostic logs for chat invite connect flow 3 months ago
Evgeny a7ecee01f5 etcp: replace connections linked-list with indexed ll_queue, add state/ref_count lifecycle 3 months ago
Evgeny 6902f5fd95 chat: add ll_queue with index for P2P connections (replaces linear search) 3 months ago
Evgeny d0af503d01 config: fix allow_all parsing — accept yes/1/true like other bool options 3 months ago
Evgeny 3368abad2a etcp+chat: add DEBUG_INFO logs for invite/crypto handshake debugging 3 months ago
Evgeny d83d281fa0 config: add [allowed_keys] allow_all=yes by default, add [gui] as valid section 3 months ago
Evgeny 4c8e5f6223 db_sync+chat_sync+etcp: fix conn init race, reduce keepalive log spam 3 months ago
Evgeny 5b749d6cc8 chatgui: db_path is now a directory (chat_data/) with chats.db and sync/ inside 3 months ago
Evgeny 6252556a02 chatgui: migrate message sync from chat_sync to db_sync 3 months ago
Evgeny e86944d661 style: reformat db_sync.c — break 500-char lines into readable ~130-char max 3 months ago
Evgeny acaa3a767c refactor: move chat_sync and member_sync to direct ETCP P2P, bypass etcp_router 3 months ago
Evgeny d840b458a7 fix: pause router retransmits before clearing ETCP queues on reinit 3 months ago
Evgeny 9378b18ce7 fix: defer connection_close in ready_cb using uasync_call_soon 3 months ago
Evgeny f669254da3 feat: hard crash on etcp_connection_close from callback chain 3 months ago
Evgeny 371208d489 chatgui: выпилить все записи в БД из GUI потока (DbManager) 3 months ago