-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.env.yaml
120 lines (119 loc) · 2.82 KB
/
example.env.yaml
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# testnet4
chain: testnet4
db:
path: ./db/testnet4
share_rpc:
bitcoin:
host: 192.168.10.102
port: 28332
user: jacky
password: 123456
log:
level: debug # default info
path: ./log/testnet4 # default log
basic_index:
max_index_height: 0 # default 0, set 0 to disable, last set is 44440
period_flush_to_db: 20 # default 100
rpc_service:
addr: 0.0.0.0:8009
proxy: testnet4
log_path: log/testnet4
## ...........................................................................
## mainnet
# chain: mainnet
# db:
# path: ./db/mainnet
# share_rpc:
# bitcoin:
# host: 192.168.10.101
# port: 8332
# user: jacky
# password: 123456
# log:
# level: debug # default info
# path: ./log/mainnet # default log
# basic_index:
# max_index_height: 0 # default 0, set 0 to disable, last set is 14000
# period_flush_to_db: 10 # default 100
# rpc_service:
# addr: 0.0.0.0:8005
# proxy: mainnet
# log_path: .log/mainnet
# # testnet4
# chain: testnet4
# db:
# path: db/testnet4
# share_rpc:
# bitcoin:
# host: 192.168.10.101
# port: 28332
# user: jacky
# password: 123456
# log:
# level: debug # default info
# path: log/testnet4 # default log
# basic_index:
# max_index_height: 0 # default 0, set 0 to disable
# period_flush_to_db: 100 # default 100
# rpc_service:
# addr: 0.0.0.0:8009
# proxy: testnet4
# log_path: "log/testnet4"
# swagger:
# host: apiprd.sat20.org # default 127.0.0.1
# schemes: # default http
# - https
# api:
# apikey_list: # default no limit, list is null
# ueZdkm8s93ZL4QjHcVbb:
# user_name: "sat20.org"
# rate_limit:
# per_second: 20
# max: 60
# burst: 60
# per_day: 100000
# G3bR7uW5kH8cM2pQjZ4y:
# user_name: "ordx.market"
# rate_limit:
# per_second: 20
# max: 60
# burst: 60
# per_day: 100000
# X2sN8vLk4R9bH7mPqW5y:
# user_name: "other"
# rate_limit:
# per_second: 20
# max: 60
# burst: 60
# per_day: 100000
# nolimit_host_list:
# - "39.108.96.46"
# - "23.247.137.36"
# - "120.231.211.16"
# nolimit_api_list:
# - "/health"
## ...........................................................................
## mainnet
# chain: mainnet
# db:
# path: db/mainnet
# share_rpc:
# bitcoin:
# host: 192.168.10.101
# port: 8332
# user: jacky
# password: 123456
# log:
# level: debug # default info
# path: log/mainnet # default log
# basic_index:
# max_index_height: 0 # default 0, set 0 to disable
# period_flush_to_db: 100 # default 100
# rpc_service:
# addr: 0.0.0.0:8001
# proxy: mainnet
# log_path: "log/mainnet"
# swagger:
# host: apiprd.sat20.org # default 127.0.0.1
# schemes: # default http
# - https