"""
WSGI entry point for the Paritr node.

Loaded by production servers such as gunicorn:

    gunicorn -k gthread -w 1 --threads 8 -b 0.0.0.0:5050 wsgi:app

Important: only ONE worker process may run (``-w 1``), because blockchain
state, mempool and mining workers live in process memory. Concurrency comes
from threads (``--threads``) and the mining subprocesses.
"""

from node import build_node

node, app = build_node()
