-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconf.js
49 lines (40 loc) · 1.49 KB
/
conf.js
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
//exports.port = 6611;
//exports.myUrl = 'wss://mydomain.com/bb';
exports.bServeAsHub = false;
exports.bLight = true;
exports.bSingleAddress = true;
// Database
exports.storage = 'sqlite';
//email
exports.useEmail = true;
exports.admin_email = '';
exports.from_email = '';
exports.smtpUser = '';
exports.smtpPassword = '';
exports.smtpHost = '';
exports.hub = 'obyte.org/bb';
exports.deviceName = 'Telegram Quiz';
exports.permanent_pairing_secret = '';
exports.control_addresses = ['DEVICE ALLOWED TO CHAT'];
// exports.payout_address = 'WHERE THE MONEY CAN BE SENT TO';
// exports.KEYS_FILENAME = 'keys.json';
// where logs are written to (absolute path). Default is log.txt in app data directory
//exports.LOG_FILENAME = '/dev/null';
// consolidate unspent outputs when there are too many of them. Value of 0 means do not try to consolidate
exports.MAX_UNSPENT_OUTPUTS = 100;
exports.CONSOLIDATION_INTERVAL = 3600*1000;
// Quiz bot settings
// Telegram redis session connection options
exports.botRedisSessionHost = '127.0.0.1';
exports.botRedisSessionPort = '6379';
// Telegram bot token. You can obtain it from @BotFather
exports.botTelegramToken = '';
// Number of right answers user should answer before receiving reward
exports.botRequiredNumberOfRightAnswers = 6;
// Amount of bytes sent to user as a reward
exports.botRewardInUSD = 5;
// Amount of bytes set as daily limit
exports.botDailyLimit = 1e9;
// Set in milliseconds
exports.botCheckForFailedPaymentsDelay = 60*1000;
console.log('finished quiz conf');