-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (41 loc) · 2.22 KB
/
Copy path.env.example
File metadata and controls
52 lines (41 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# SmartNet Tracker - configuration example.
# Copy to `.env` next to the binary (or run from the folder with this file),
# the tracker will automatically pick up values via `dotenvy`.
#
# All variables below are optional: without `.env` the tracker starts with default
# values shown to the right of `=`.
# --- Basic HTTP server parameters ---
# Port the tracker listens on (default 7374).
SMARTNET_TRACKER_PORT=7374
# Path to sled database (directory is created automatically).
SMARTNET_TRACKER_DB=./tracker-data
# Announce record TTL in seconds: if the provider doesn't send a heartbeat within this time,
# the record expires and is deleted. Default is 120.
SMARTNET_TRACKER_TTL=120
# Log every accepted/rejected announce (useful for debugging).
# Disabled with 0/false/off/no. Default is ON.
SMARTNET_TRACKER_LOG_ANNOUNCE=1
# Seeding economics: on-chain payment verification for publishing + heartbeat tracking of K_up.
# OFF (0/false/off/no) = emergency mode, serve ALL announces in /apps without payment
# verification. Default is ON.
ENABLE_INCENTIVIZED_SEEDING=1
# --- Official Repository ---
# Pool of SmartHoldem REST nodes separated by commas. Never use a single hardcoded node
# in production - the tracker iterates the list and picks the first live one. Default is the
# built-in mainnet pool (node0..node3.smartholdem.io + node0.sth.cx).
# SMARTHOLDEM_NODES=node0.smartholdem.io,node1.smartholdem.io
# Trusted developer address registry in the SmartHoldem blockchain.
OFFICIAL_DEVELOPERS=SdevsH3kMbcCFWnyYVtD2UYnBQQm66MxDn
# Approved dApp address registry (by appId).
OFFICIAL_DAPPS=SdAppjWaQf4v2JjuubvtwsKe3yuUCuq8i8
# Startup seed list of developer addresses separated by commas - fallback if the
# blockchain is unavailable at startup. Always supplemented with the ORACLE admin address.
# DEVELOPERS=Saddress1,Saddress2
# --- Response signing for /seeders-dht (optional) ---
# Operator secret key (secp256k1, hex, 32 bytes). If set, GET /seeders-dht
# is signed with ECDSA, clients with a pinned pubkey reject forgeries.
# Empty value = responses are not signed.
# OPERATOR_SECRET=
# --- Logging management ---
# Standard tracing-subscriber filter (e.g.: smartnet_tracker=debug,tower_http=info).
# RUST_LOG=smartnet_tracker=info,tower_http=warn