Version signed node snapshots with persistent timestamps

This commit is contained in:
evgeny committed 2026-09-27 19:11:11 +03:00
1 parent 7374d1648c
commit ec51b2d61f
10 files changed
+440 -95

No files matched your search

+3
View File
@@ -15,6 +15,9 @@
#define PEERS_FLAG_HAS_JOIN 0x01
int topo_node_sqlite_init(sqlite3* db);
int topo_node_sqlite_snapshot_put(sqlite3* db, struct TOPO_NODE* ni);
uint64_t topo_node_sqlite_snapshot_timestamp(sqlite3* db, uint64_t node_id);
struct TOPO_NODE* topo_node_sqlite_snapshot_load(sqlite3* db, struct TOPO_GROUPS* groups, uint64_t node_id);
/* Персистентная запись адресов узла в node_addresses (источник истины — BGP/topo_group).
* DELETE + INSERT из ni->v4_addrs/v6_addrs, классификация config_type/nat_type из SOCKMETA. */