794 Commits (6b765de5cc0f46d378c3ebe41cf6c9f51f77da21)

Author SHA1 Message Date
Evgeny ccd35074d8 Заменил find_link_index на ll_queue с хеш-индексом: универсальный ключ port(2)+addr(16)+family(1)=19 байт, IPv4 дополнен нулями 2 months ago
Evgeny 7a5df3e196 etcp: add node_changed callback chain + chatgui subscription 2 months ago
Evgeny f6f7e12192 refactor: demote high-frequency debug logs (raw_recv/dispatch→TRACE, normalizer→DEBUG), NTP drift→WARN 2 months ago
Evgeny 42041dfe84 feat: log connection status changes at general=info level (NEW/UP/DOWN/DELETE) 2 months ago
Evgeny beed7a4e07 fix: INIT reset logic — reset only on session change or got_initial_pkt, always sync session_id 2 months ago
Evgeny 58df4d8571 ntp_node_time: переход с etcp_router на raw ETCP (P2P) 2 months ago
Evgeny 2e7c32c893 fix(db): use INSERT ... ON CONFLICT instead of INSERT OR REPLACE for nodes table 2 months ago
Evgeny 501b636d19 topo_group: disable in chatgui; fix NAT detection for matching addresses 2 months ago
Evgeny 208a0c8ae8 fix(chat_sync): peer online status not updated in invite flow 2 months ago
Evgeny ca6a27aadb BGP: 2 addr per socket (remove TOPO_ADDR_REAL), config IP priority, private IPs in SQLite, NAT addr != INTERFACE 2 months ago
Evgeny 4df7195a58 debug: add ADDR_SYNC logs for BGP node_put DELETE and member_sync recv ac 3 months ago
Evgeny 586d46f1e6 fix: WELCOME wire format — flags+update_sig parsing, peer_needed gap, invalid join_sig skip 3 months ago
Evgeny 39a376e255 fix: BGP и чат больше не затирают адреса друг друга в node_addresses 3 months ago
Evgeny 20f5e6c953 sqlite: add cache_size/mmap_size/temp_store PRAGMAs to db_sync and topo_group — 159x insert speedup, fix test_chat_sync_stress timeout 3 months ago
Evgeny 29e2527b6b consolidate 3 SQLite connections into 1 shared handle 3 months ago
Evgeny 93665c50f0 etcp: remove dead set_*_cbk functions, use add/remove only 3 months ago
Evgeny ef1922327a rename ready_cbks → init_cbks (connection init, not fully ready) 3 months ago
Evgeny 4188afb3c5 db_sync: lazy-register channel instance on INIT_SYNC when not pre-registered 3 months ago
Evgeny a510cb0018 auto_connect: add DB dump diagnostics (node_addresses state, node existence, db path+status) 3 months ago
Evgeny 3aadaa3396 fix: sqlite3_open wrong path in topo_group.c (db_path vs db_path/chats.db), keep separate connections for perf 3 months ago
Evgeny aa1ed006d5 etcp: instance-level conn status callbacks (NEW/UP/DOWN/DELETE), fix member online in chatgui 3 months ago
Evgeny e71cae16c1 db_sync: unified msg table — one DB, one table per channel 3 months ago
Evgeny 7c2798ec0e debug: add diagnostic logging for ETCP recv/INIT/dispatch paths 3 months ago
Evgeny 93871c592b db_sync: timeout for stuck sync_state=1, handle ERROR properly 3 months ago
Evgeny de4099a26b logging: cleanup connection establishment logs 3 months ago
Evgeny 4b7c7738de debug: add DEBUG_CATEGORY_DB_SYNC (26) + TRACE logs for db_sync, merkle_sync, chat_sync, member_sync 3 months ago
Evgeny 9e34e9f838 fix chatgui: self in member list, online status on reconnect, lb spam 3 months ago
Evgeny 3e0b9483b7 fix chatgui: channel persistence & peer list after restart 3 months ago
Evgeny c594375023 fix: derive node_id from pubkey instead of privkey 3 months ago
Evgeny 6f4025e420 refactor: move sqlite3 db from topo_group to UTUN_INSTANCE, remove conn_mgr/topo_group deps from chatgui 3 months ago
Evgeny 52587c4f2b move ETCP_ID_NAT_DETECTION to etcp_api.h alongside other ETCP_IDs 3 months ago
Evgeny b238089678 refactor(nat_detection): remove BGP dependency, auto trigger on conn_up, clean API 3 months ago
Evgeny 90363650e3 refactor(nat_detection): self-sufficient module with own ETCP_ID (0x02) and docs 3 months ago
Evgeny 910cac8dce refactor: separate NAT detection from topology into standalone nat_detection module 3 months ago
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 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 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 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 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