Update api.js
support for solofee and finders reward
This commit is contained in:
@@ -395,7 +395,8 @@ function collectStats () {
|
|||||||
cnVariant: config.cnVariant || 0,
|
cnVariant: config.cnVariant || 0,
|
||||||
cnBlobType: config.cnBlobType || 0,
|
cnBlobType: config.cnBlobType || 0,
|
||||||
hashrateWindow: config.api.hashrateWindow,
|
hashrateWindow: config.api.hashrateWindow,
|
||||||
fee: config.blockUnlocker.poolFee,
|
fee: config.blockUnlocker.poolFee || 0,
|
||||||
|
soloFee: config.blockUnlocker.soloFee >= 0 ? config.blockUnlocker.soloFee : (config.blockUnlocker.poolFee > 0 ? config.blockUnlocker.poolFee : 0),
|
||||||
networkFee: config.blockUnlocker.networkFee || 0,
|
networkFee: config.blockUnlocker.networkFee || 0,
|
||||||
coin: config.coin,
|
coin: config.coin,
|
||||||
coinUnits: config.coinUnits,
|
coinUnits: config.coinUnits,
|
||||||
@@ -403,6 +404,7 @@ function collectStats () {
|
|||||||
coinDifficultyTarget: config.coinDifficultyTarget,
|
coinDifficultyTarget: config.coinDifficultyTarget,
|
||||||
symbol: config.symbol,
|
symbol: config.symbol,
|
||||||
depth: config.blockUnlocker.depth,
|
depth: config.blockUnlocker.depth,
|
||||||
|
finderReward: config.blockUnlocker.finderReward || 0,
|
||||||
donation: donations,
|
donation: donations,
|
||||||
version: version,
|
version: version,
|
||||||
paymentsInterval: config.payments.interval,
|
paymentsInterval: config.payments.interval,
|
||||||
|
|||||||
Reference in New Issue
Block a user