This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env.example
93 lines (66 loc) · 2.73 KB
/
.env.example
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# ABCI host and port to listen
ABCI_HOST=0.0.0.0
ABCI_PORT=26658
# Common store MerkDB file
COMMON_STORE_MERK_DB_FILE=./db/common-merkdb
PREVIOUS_COMMON_STORE_MERK_DB_FILE=./db/common-merkdb-previous
# Identities store MerkDB file
IDENTITIES_STORE_MERK_DB_FILE=./db/identities-merkdb
PREVIOUS_IDENTITIES_STORE_MERK_DB_FILE=./db/identities-merkdb-previous
# Public key to identity id store MerkDB file
PUBLIC_KEY_TO_IDENTITY_STORE_MERK_DB_FILE=./db/public-key-to-identity-id-merkdb
PREVIOUS_PUBLIC_KEY_TO_IDENTITY_STORE_MERK_DB_FILE=./db/public-key-to-identity-id-merkdb-previous
# Data Contract store MerkDB file
DATA_CONTRACTS_STORE_MERK_DB_FILE=./db/data-contracts-merkdb
PREVIOUS_DATA_CONTRACTS_STORE_MERK_DB_FILE=./db/data-contracts-merkdb-previous
# Asset lock transaction MerkDB files
ASSET_LOCK_TRANSACTIONS_STORE_MERK_DB_FILE=./db/asset-locks-merkdb
PREVIOUS_ASSET_LOCK_TRANSACTIONS_STORE_MERK_DB_FILE=./db/asset-locks-merkdb-previous
# Block execution store file
PREVIOUS_BLOCK_EXECUTION_TRANSACTIONS_FILE=./db/block-execution-transactions.db
# External store LevelDB file
EXTERNAL_STORE_LEVEL_DB_FILE=./db/external-leveldb
PREVIOUS_EXTERNAL_STORE_LEVEL_DB_FILE=./db/external-leveldb-previous
# Cache size for Data Contracts
DATA_CONTRACT_CACHE_SIZE=500
# Documents store MerkDB file
DOCUMENTS_STORE_MERK_DB_FILE=./db/documents-merkdb
PREVIOUS_DOCUMENTS_STORE_MERK_DB_FILE=./db/documents-merkdb-previous
# Documents MongoDB database prefix
DOCUMENT_MONGODB_DB_PREFIX=drive_document_
PREVIOUS_DOCUMENT_MONGODB_DB_PREFIX=drive_document_p_
# Documents MongoDB connection string
# Read more: https://docs.mongodb.com/manual/reference/connection-string/
DOCUMENT_MONGODB_URL=mongodb://127.0.0.1:27017?replicaSet=driveDocuments
# DashCore JSON-RPC host, port and credentials
# Read more: https://dashcore.readme.io/docs/core-api-ref-remote-procedure-calls
CORE_JSON_RPC_HOST=127.0.0.1
CORE_JSON_RPC_PORT=9998
CORE_JSON_RPC_USERNAME=dashrpc
CORE_JSON_RPC_PASSWORD=password
# DashCore ZMQ host and port
CORE_ZMQ_HOST=127.0.0.1
CORE_ZMQ_PORT=29998
CORE_ZMQ_CONNECTION_RETRIES=16
NETWORK=testnet
INITIAL_CORE_CHAINLOCKED_HEIGHT=
# https://github.com/dashevo/dashcore-lib/blob/286c33a9d29d33f05d874c47a9b33764a0be0cf1/lib/constants/index.js#L42-L57
VALIDATOR_SET_LLMQ_TYPE=100
# DPNS Contract is optional
# DPNS_CONTRACT_ID=
# DPNS_CONTRACT_BLOCK_HEIGHT=
# Dashpay Contract is optional
# DASHPAY_CONTRACT_ID=
# DASHPAY_CONTRACT_BLOCK_HEIGHT=
# Feature flags contract
# FEATURE_FLAGS_CONTRACT_ID=
# FEATURE_FLAGS_CONTRACT_BLOCK_HEIGHT=
# logging
LOG_STDOUT_LEVEL=info
LOG_PRETTY_FILE_LEVEL=silent
LOG_PRETTY_FILE_PATH=/tmp/drive-pretty.log
LOG_JSON_FILE_LEVEL=silent
LOG_JSON_FILE_PATH=/tmp/drive-json.log
LOG_STATE_REPOSITORY=false
LOG_MERK=false
NODE_ENV=production