-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
43 lines (31 loc) · 933 Bytes
/
config.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
bind: ":3000"
mqtt:
brokers:
- "mqtt://127.0.0.1:1883"
client_id: "atm-backend"
topics: # ATM devices' topics
- "moneyacceptord"
- "codescannerd"
log_format: "pretty"
log_file: "log.txt"
# Mainnet or stagenet.
mode: "mainnet"
# This is the ATM fee percentage. For example 0.1 is 10% fee.
fee: 0.1
# Address of remote MoneroPay instance.
moneropay: "http://localhost:5000"
# Timeout for requests to MoneroPay. This option is important especially if the
# ATM is located somewhere with poor network speeds.
moneropay_timeout: "3m"
# Check MoneroPay's /health this often.
moneropay_health_poll_frequency: "10s"
# Fetch the price value from Kraken this often.
price_poll_frequency: "10s"
# Send price data to frontend this often.
price_notification_frequency: "2s"
# Supported currency or currencies
currencies:
- "EUR"
- "CZK"
# Rate to use if fetching it online wasn't possible.
fallback_rate: 123.45