Create a PeerStorage backed by SQLite via better-sqlite3.
better-sqlite3
Two tables are created automatically on first use:
peer_edges
peer_device_cache
Path to the SQLite file, or ':memory:' (default).
':memory:'
Maximum edges retained per device side. Default: 50.
Create a PeerStorage backed by SQLite via
better-sqlite3.Two tables are created automatically on first use:
peer_edges— edge graph with upsert logicpeer_device_cache— latest reputation signals per device