19 Commits (7c8d65db78e39878ede3a4792b7596da820b293f)

Author SHA1 Message Date
evgeny 7c8d65db78 chat: локальное удаление канала (Android) + db_sync инстансы в куче 3 weeks ago
evgeny 4b9b0009d8 chat: гейт авто-синхронизации db_sync до member_sync/pubkeys + member tags (verified/deleted) в chatgui 4 weeks ago
evgeny 7b73d99b5b chat: передавать group_id в бинарном виде в протоколе синхронизации 4 weeks ago
evgeny 5c2501b4f3 chat: BGP-driven address sync, member identity verify, join_sig fix 2 months ago
evgeny a4e73acceb db_sync: work-driven peer_check timer (stops when all peers synced) 2 months ago
evgeny 7f901c01e1 etcp: переупорядочить close + защита state==2 во всех API-точках; topo: правильная очистка group nodes и registry; chat/member: новый модуль member_sync; chatgui: обновления транспорта и UI 2 months ago
evgeny 38c9f229bc stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test 2 months ago
evgeny d773f1724a refactor: STCP connections as ETCP links (is_tcp) 2 months ago
evgeny e51d8ddda2 chatgui: fix ERROR→WARN/DEBUG for normal situations 2 months ago
evgeny 5feeb2c169 chatgui: clean up log — remove spam, move messages to proper categories 2 months ago
evgeny be0e76c9a6 debug: реорганизация категорий — SYS(1), ETCP(4) расширен, CONNECTION(3) очищен; fix stcp_client.c sock_err до connect() 2 months ago
evgeny d310bccf08 fix: memory pool alloc mismatch in tests, db_sync SEND_DATA buffer overflow 2 months ago
evgeny 641c9f574f db_sync: cascade insert + SYNC_DONE fixes + done_cbk + test stabilization 2 months ago
evgeny c093630d4d db_sync: async batch chain_hash recalc (batch 50, timeout 0→100tb), flush before protocol chain_hash reads, remove db_cascade_from/range + do_cascade param 2 months ago
evgeny 6f502243db fix: etcp_conn_reset resume output_queue+ack_q+normalizer; collision client-timer cancel; ETCP full state dump to debug log on sync TIMEOUT 2 months ago
evgeny e751e6ee69 android: voice messages + attachments architecture plan, build fixes 2 months ago
evgeny 064bed06f2 android: fix key regeneration, Clear DB, uasync eventfd, udp log from config 2 months ago
Evgeny d4a396f888 media: Ed25519-подписи блоков, local_attrs, MediaBlockReader, файловые вложения 2 months ago
Evgeny ed6132fcda перенос chat-логики из chatgui/transport в src/chat/ 2 months ago
Evgeny 7a9e3bea5f db_sync: mc>pc guard with last_peer_count — detect stalled sync when pc doesn't change 2 months ago
Evgeny 3490789249 db_sync: skip SYNC_DONE in count>0 handler when received==0 — breaks bad_sig recv→send loop on client side 2 months ago
Evgeny c9436219a0 db_sync: fix synced_pos overwrite in SYNC_DONE — use max to preserve total_processed advance 2 months ago
Evgeny 34404403ef db_sync: verify sig before send + fix total_processed double-count 2 months ago
Evgeny e9fce43be5 db_sync: fix bad_sig infinite loop — delete+rechain, advance synced_pos past dup/bad_sig, accept on covered tail 2 months ago
Evgeny 27906e9f91 db_sync: односторонний sync, sparse-таблица, vp в SEND_DATA, PUSH-релей 2 months ago
Evgeny e071a9e2f8 db_sync: fix test sync protocol isolation (add auto_sync flag, destroy order, test refactor) 2 months ago
Evgeny ad56767646 db_sync: notify all peers when cascade_from changes chain (lock-free sync) 2 months ago
Evgeny c46cb9a979 db_sync: fix si_send_data_batch column bug (author→node_id), add cascade_from to PUSH, add divergence+cascade test phases 2 months ago
Evgeny a7ec45c4af db_sync: replace all sync logs with unified narrative format sync [TBL:NODE] 2 months ago
Evgeny 58ad643516 Add debug logs to Ed25519 self-sig flow: computation, verification, skip due to no key 2 months ago
Evgeny 85269d1da3 Ed25519 self-signature in NODEINFO + fix sync sequence and zero-key bug 2 months ago
Evgeny 3890d2038d db_sync: add missing ERROR/WARN logs to all error branches 2 months ago
Evgeny acd4a189ae db_sync: add author_sig VERIFY FAIL diagnostics + SYNC_DONE retry limit 2 months ago
Evgeny b48d3b4a77 db_sync: add diagnostic logs for message sync debugging during join 2 months ago
Evgeny df809f251c ntp: use NTP-corrected time everywhere instead of unixepoch()/gettimeofday 2 months ago
Evgeny 208a0c8ae8 fix(chat_sync): peer online status not updated in invite flow 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 4188afb3c5 db_sync: lazy-register channel instance on INIT_SYNC when not pre-registered 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 93871c592b db_sync: timeout for stuck sync_state=1, handle ERROR properly 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 6f4025e420 refactor: move sqlite3 db from topo_group to UTUN_INSTANCE, remove conn_mgr/topo_group deps from chatgui 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 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 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