Update paymentProcessor.js

This commit is contained in:
Procrastinator 2017-05-14 01:56:39 -04:00 committed by GitHub
parent 291c26360d
commit 606bc1f0a8
1 changed files with 3 additions and 2 deletions

View File

@ -55,8 +55,8 @@ function SetupForPool(logger, poolOptions, setupFinished){
var minConfShield = Math.max((processingConfig.minConf || 10), 1); //Dont allow 0 conf transactions.
var minConfPayout = Math.max((processingConfig.minConf || 10), 1);
if (processingConfig.minConf < 3) {
logger.debug(logSystem, logComponent + 'Minimum confirmations for payments is less than 3, this increases the chances of a payment being orphaned');
if (processingConfig.minConf < 10) {
logger.debug(logSystem, logComponent, logComponent + 'Minimum confirmations for payments is less than 10, this increases the chances of a payment being orphaned');
}
var maxBlocksPerPayment = processingConfig.maxBlocksPerPayment || 3;
@ -70,6 +70,7 @@ function SetupForPool(logger, poolOptions, setupFinished){
var fee = parseFloat(poolOptions.coin.txfee) || parseFloat(0.0004);
logger.debug(logSystem, logComponent, logComponent + ' requireShielding: ' + requireShielding);
logger.debug(logSystem, logComponent, logComponent + ' minConf: ' + minConfShield);
logger.debug(logSystem, logComponent, logComponent + ' payments txfee reserve: ' + fee);
logger.debug(logSystem, logComponent, logComponent + ' maxBlocksPerPayment: ' + maxBlocksPerPayment);
logger.debug(logSystem, logComponent, logComponent + ' PPLNT: ' + pplntEnabled + ', time period: '+pplntTimeQualify);