Added reward_type and reward info to api/getpoolinfo
This commit is contained in:
parent
207a8719fd
commit
0639af54b3
@ -25,8 +25,10 @@ $data = array(
|
|||||||
'confirmations' => $config['confirmations'],
|
'confirmations' => $config['confirmations'],
|
||||||
'min_ap_threshold' => $config[ap_threshold][min],
|
'min_ap_threshold' => $config[ap_threshold][min],
|
||||||
'max_ap_threshold' => $config[ap_threshold][max],
|
'max_ap_threshold' => $config[ap_threshold][max],
|
||||||
// backwards compatibility for old API calls
|
'reward_type' => $config[payout_system] == 'pps' ? $config['pps']['reward']['type'] : $config['reward_type'],
|
||||||
'txfee' => $config['txfee_manual'],
|
'reward' => $config[payout_system] == 'pps' ? $config['pps']['reward']['default'] : $config['reward'],
|
||||||
|
// fees
|
||||||
|
'txfee' => $config['txfee_manual'], // make it backwards compatible
|
||||||
'txfee_manual' => $config['txfee_manual'],
|
'txfee_manual' => $config['txfee_manual'],
|
||||||
'txfee_auto' => $config['txfee_auto'],
|
'txfee_auto' => $config['txfee_auto'],
|
||||||
'fees' => $config[fees]
|
'fees' => $config[fees]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user