Browse Source
- _get_level_hashes: use separate SQL without prefix64<=? for level 0. UINT64_MAX cast to sqlite3_int64 becomes -1, making prefix64<=-1 always false for positive prefixes → bitmap always 0 → sync never exchanges data. - member_sync_init: add _rebuild_all_trees to scan all peers_* tables and call merkle_sync_recompute_path for each member. Ensures merkle_tree_hash has entries for members added before merkle sync existed.topo_upd
2 changed files with 37 additions and 9 deletions
Loading…
Reference in new issue