Ports and Firewall
| Port | Protocol | Exposure | Purpose |
|---|---|---|---|
42000 | UDP | Public | Kindelia P2P gossip |
8420 | TCP | 127.0.0.1 only | Node HTTP JSON API and local explorer |
42010 | UDP | Public (pool nodes only) | kind-pool miner job/share protocol |
Never bind port 8420 directly to 0.0.0.0 if you run the pool bridge patch (GET /work, POST /submit) or hold any local access assumptions. Put nginx in front and explicitly deny /work and /submit with 403.
Build and Run
git clone https://github.com/kindelia/kindelia /opt/kindelia/src
clang -O2 -pthread /opt/kindelia/src/clang/kindelia.c -o /opt/kindelia/bin/kindelia
/opt/kindelia/bin/kindelia node --dir /var/lib/kindelia/node --port 42000 --http 8420For a mining pool node (builds candidate blocks without burning VPS CPU on internal mining threads):
/opt/kindelia/bin/kindelia node --dir /var/lib/kindelia/node --mine <POOL_ADDR> --threads 0Known Hardware Constraints (SPEC.md §13)
- Memory (Gap 5): Current state resides in RAM (up to 30 GB ceiling; 16 GB holds ~571M stored cells) until single-file
mmapdisk backing lands. Provision at least 8-16 GB RAM on long-lived public nodes. - Sync speed (Gap 25): Stock UDP sync fetches one block per round trip (~12 blocks/s per peer). Keep reliable fixed peers configured and back up
/var/lib/kindelia/nodecleanly after stopping the service. - Clock safety: Ensure NTP runs smoothly; apply monotonic-clock patch (
PR #326) so backward clock steps cannot drop peers or HTTP connections.