-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.sample.json5
61 lines (55 loc) · 1.63 KB
/
config.sample.json5
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
{
app: {
/*
Server port with health check endpoint
*/
port: 3000
},
/*
The maximum number of hours after a transaction occurs during which a notification can be sent to the user.
If a transaction is older than the specified number of hours, the system will skip sending a notification for that transaction
*/
notificationExpiryHours: 24,
/*
List of nodes to fetch transactions.
If one becomes unavailable, the bot will choose a live one.
*/
admNodes: [
'https://bid.adamant.im',
'http://localhost:36666',
'https://endless.adamant.im',
'https://clown.adamant.im',
'https://unusual.adamant.im',
'https://debate.adamant.im',
'http://23.226.231.225:36666',
'http://78.47.205.206:36666',
'https://lake.adamant.im',
'https://sunshine.adamant.im'
],
/*
Pass phrase for the incoming transaction's bot
*/
passPhrase: '',
/*
Transaction types to notify:
0 - token transfer transaction
2 - delegate registration transaction
3 - vote for delegate transaction
8 - chat/message transaction
9 - store data in KVS transaction
*/
notifyTxTypes: [0, 8],
/*
If service notifies "8" type of transactions (chat/message transaction)
include subtypes to notify of these transactions:
1 - Basic encrypted messages
2 - Rich content messages
3 - Signal messages
*/
chatTxTypeIncludeSubtype: [1, 2],
/*
If the service has been shut down, it will process blocks from the moment of switching off.
The setting specifies how many last blocks to notify users about new transactions
*/
latestHeightToNotify: 500
}