-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconfig.php
70 lines (51 loc) · 1.94 KB
/
config.php
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
<?php
/*
|--------------------------------------------------------------------------
| General Configuration
|--------------------------------------------------------------------------
*/
// The full path to a local node install
$pool_config['node_path'] = '/var/www/node';
// The access URL for node
$pool_config['node_url'] = 'http://127.0.0.1:30000';
// The maximum deadline that is allowed for pool miners
$pool_config['max_deadline'] = 1000000;
/*
|--------------------------------------------------------------------------
| Database Configuration
|--------------------------------------------------------------------------
*/
// The database DSN
$pool_config['db_connect'] = 'mysql:host=localhost;dbname=DB-NAME';
// The database username
$pool_config['db_user'] = 'DB-USER';
// The database password
$pool_config['db_pass'] = 'DBPASS';
/*
|--------------------------------------------------------------------------
| Mining Configuration
|--------------------------------------------------------------------------
*/
// The pool public key
$pool_config['public_key'] = 'your public key';
// The pool private key
$pool_config['private_key'] = 'your private key';
// The pool wallet address
$pool_config['address'] = 'pool wallet address';
// The pool fee wallet address
$pool_config['fee_address'] = 'fee wallet address';
// The fee that the pool takes from the funds (default is 2%)
$pool_config['fee'] = 0.02;
/*
|--------------------------------------------------------------------------
| Payments Configuration
|--------------------------------------------------------------------------
*/
// The percentage to reward to historic shares (default is 100%)
$pool_config['historic_reward'] = 1;
// The percentage to reward to current shares (default is 0%)
$pool_config['current_reward'] = 0;
// The percentage to reward to the block winner (default is 0%)
$pool_config['miner_reward'] = 0;
// The minimum payout that is required
$pool_config['min_payout'] = 3;