1
This commit is contained in:
parent
8dec443dca
commit
4d054b561b
@ -1348,6 +1348,7 @@ class ComputingPowerCurr(object):
|
||||
['period_end', '', '本期结束时间(0 不显示)'],
|
||||
['await_time', '', '结算等待时间'],
|
||||
['assignable_cec', '', '可分配的总cec奖励'],
|
||||
['cec_pool', '', '总cec奖励池'],
|
||||
# ['total_target', '', '全服算力总目标'],
|
||||
|
||||
# ['refresh_remain_time', '', '刷新剩余时间'],
|
||||
|
@ -29,6 +29,7 @@ class ComputingPowerController extends BaseAuthedController
|
||||
"period_end" => 0,
|
||||
"await_time" => 0,
|
||||
"assignable_cec" => 0,
|
||||
"cec_pool" => 0,
|
||||
"total_exchange_hash_rate" => 0,
|
||||
"total_hash_rate" => 0,
|
||||
|
||||
@ -72,6 +73,7 @@ class ComputingPowerController extends BaseAuthedController
|
||||
$curr_period['period_begin'] = strtotime($currentMeta['start_time']);
|
||||
$curr_period['period_end'] = strtotime($currentMeta['end_time']);
|
||||
$curr_period['assignable_cec'] = min($currentMeta['cec_pool'],$totalNum);
|
||||
$curr_period['cec_pool'] = $currentMeta['cec_pool'];
|
||||
$curr_period['total_exchange_hash_rate'] = $ownerNum;
|
||||
$curr_period['total_hash_rate'] = $totalNum;
|
||||
$curr_period['await_time'] = strtotime($currentMeta['end_time']) - myself()->_getNowTime();
|
||||
|
Loading…
x
Reference in New Issue
Block a user