Skip to content
Kindelia Wiki
Kindelia Wiki · 05 of 06

Running and Hardening a Full Node

Kindelia has no light clients (SPEC.md §1.7). Every full node replays the canonical chain from genesis.

Ports and Firewall

PortProtocolExposurePurpose
42000UDPPublicKindelia P2P gossip
8420TCP127.0.0.1 onlyNode HTTP JSON API and local explorer
42010UDPPublic (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 8420

For 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 0

Known 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 mmap disk 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/node cleanly 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.