This reverts commit df3d9e78d3
.
This commit is contained in:
parent
df3d9e78d3
commit
2c6dea65ad
|
@ -795,15 +795,6 @@ function SetupForPool(logger, poolOptions, setupFinished){
|
|||
// get transaction category for round
|
||||
round.category = generationTx.category
|
||||
|
||||
//Consider block mature if block confirmations is >= to confirmations defined in poolOptions
|
||||
if (round.confirmations >= poolOptions.coin.poolOptions.confirmations || 100) {
|
||||
round.category = 'generate';
|
||||
}
|
||||
|
||||
if (poolOptions.coin.poolOptions.confirmations =< 10) {
|
||||
logger.warning(logSystem, logComponent, logComponent + ' block confirmations > 10 recommended!');
|
||||
}
|
||||
|
||||
// get reward for newly generated blocks
|
||||
if (round.category === 'generate' || round.category === 'immature') {
|
||||
round.reward = coinsRound(parseFloat(generationTx.amount || generationTx.value))
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
{{ } }}
|
||||
{{if (it.stats.pools[pool].pending.confirms) { }}
|
||||
{{if (it.stats.pools[pool].pending.confirms[block[0]]) { }}
|
||||
<span style="float:right; color: red;"><small>{{=it.stats.pools[pool].pending.confirms[block[0]]}} of {{=it.poolsConfigs[pool].coin.poolOptions.confirmations}}</small></span>
|
||||
<span style="float:right; color: red;"><small>{{=it.stats.pools[pool].pending.confirms[block[0]]}} of 100</small></span>
|
||||
{{ } else { }}
|
||||
<span style="float:right; color: red;"><small>*PENDING*</small></span>
|
||||
{{ } }}
|
||||
|
|
Loading…
Reference in New Issue