forked from dtube/avalon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
51 lines (40 loc) · 1.2 KB
/
.env
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
# Ports configuration
#HTTP_PORT=3001
#P2P_PORT=6001
#HTTP_HOST=0.0.0.0
#P2P_HOST=0.0.0.0
# MongoDB configuration
DB_NAME=stc
DB_URL=mongodb+srv://testetta:[email protected]/stc?retryWrites=true&w=majority
# Peering configuration
#OFFLINE=1
#NO_DISCOVERY=1
#DISCOVERY_EXCLUDE=dtube
# Enable more modules
#NOTIFICATIONS=1
#RANKINGS=1
#CONTENTS=1
# Cache warmup option
WARMUP_ACCOUNTS=100000
WARMUP_CONTENTS=0
# Warn when a transactions takes more than X ms
WARN_SLOW_VALID=5
WARN_SLOW_EXEC=5
# trace / perf / econ / cons / debug / info / warn
LOG_LEVEL=info
# groups blocks during replay output to lower screen spam
REPLAY_OUTPUT=10000
# Rebuild chain state from dump, verifying every block and transactions
# Do not forget to comment this out after rebuild
#REBUILD_STATE=1
#REBUILD_WRITE_INTERVAL=10000
#REBUILD_RESUME_BLK=
# default peers to connect with on startup
PEERS=wss://avalone-bc.herokuapp.com
MAX_PEERS=20
# your user and keys (only useful for active node owners)
NODE_OWNER=dtube
NODE_OWNER_PUB=dTuBhkU6SUx9JEx1f4YEt34X9sC7QGso2dSrqE8eJyfz
NODE_OWNER_PRIV=34EpMEDFJwKbxaF7FhhLyEe3AhpM4dwHMLVfs4JyRto5
# Memory limit for in-memory rebuild (in MB)
NODE_OPTIONS=--max_old_space_size=8192