|
libwebsockets
Lightweight C library for HTML5 websockets
|
lws now uses a common, top-level JSON policy file located at /etc/lwsws/policy. It provides a centralized place to define basic node configuration, such as where dnssec keys reside, and a list of root DHT nodes to join the network.
During installation (make install), this file is automatically generated if it does not already exist.
The server components utilizing DHT (like lws-minimal-raw-dht-zone-client or lwsws) will automatically read this policy and randomize their initial connection across the available seed nodes.