39 Commits (34907892499d67a2086386cebcf418100b191ba3)

Author SHA1 Message Date
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
Evgeny 4c8e5f6223 db_sync+chat_sync+etcp: fix conn init race, reduce keepalive log spam 3 months ago
Evgeny e86944d661 style: reformat db_sync.c — break 500-char lines into readable ~130-char max 3 months ago
Evgeny f3719a28df fix: change timestamp unit from microseconds to milliseconds 3 months ago
Evgeny 5fc621690a fix: wall-clock timestamps + merkle_sync timeout + build script 3 months ago
Evgeny f617dcd68e db_sync: LMDB→SQLite, multi-instance, etcp_api, chatgui integration 3 months ago
Evgeny 1f4749a1b9 Убрал имена функций из DEBUG-сообщений (__FUNCTION__ уже добавляет) 3 months ago
Evgeny 28e5950d29 TOPO_BGP -> TOPO_GROUP: multi-group support 3 months ago
Evgeny 3c3d9a65d9 refactor: переименование route_node/route_bgp в topo_node/topo_bgp 3 months ago
Evgeny 8756f561be build: extract libutun.a from src/ + add db_sync module + etcp API, BBR improvements 3 months ago