Permalink
Browse files

Configurable Development Fee %

added so owners have better control on the amount they wish to donate to
furfer development towards the project
  • Loading branch information...
1 parent 6dde6b3 commit bad792ab5d40bd07594f70a2f42c8f4361f2dc42 SOELexicon committed Dec 12, 2016
Showing with 3 additions and 2 deletions.
  1. +2 −1 burst-pool-config.js
  2. +1 −1 burst-pool-payment.js
View
@@ -14,7 +14,8 @@ module.exports = {
blockMature : 1,
txFeePercent : 0.0005,
devFee : true,
- poolFee : 0.0015,
+ devFeePercent : 0.01,
+ poolFee : 0.01,
poolDiff : 1000000,
poolDiffCurve : 0.75,
poolPort : 8124,
View
@@ -78,7 +78,7 @@ function distributeShareToPayment(){
//calculate payment amount for each account
var funddistribution = blockPayment.allocatedFund;
if (poolConfig.devFee){
- var Poolfee2 = funddistribution*0.01;
+ var Poolfee2 = funddistribution*poolConfig.devFeePercent;
}else {
var Poolfee2 = 0;
}

0 comments on commit bad792a

Please sign in to comment.