Updated readme with payment processing updates
This commit is contained in:
parent
74e4827057
commit
17bbc68b74
14
README.md
14
README.md
|
@ -2,7 +2,7 @@
|
||||||
#### Node Open Mining Portal
|
#### Node Open Mining Portal
|
||||||
|
|
||||||
This portal is an extremely efficient, highly scalable, all-in-one, easy to setup cryptocurrency mining pool written
|
This portal is an extremely efficient, highly scalable, all-in-one, easy to setup cryptocurrency mining pool written
|
||||||
entirely in Node.js. It contains a stratum poolserver, reward/payment/share processor (*not yet completed*), and
|
entirely in Node.js. It contains a stratum poolserver, reward/payment/share processor, and
|
||||||
front-end website (*not yet completed*).
|
front-end website (*not yet completed*).
|
||||||
|
|
||||||
#### Features
|
#### Features
|
||||||
|
@ -197,13 +197,13 @@ Description of options:
|
||||||
/* (2% default) What percent fee your pool takes from the block reward. */
|
/* (2% default) What percent fee your pool takes from the block reward. */
|
||||||
"feePercent": 0.02,
|
"feePercent": 0.02,
|
||||||
|
|
||||||
/* Your address that receives pool revenue from fees */
|
/* (Not implemented yet) Your address that receives pool revenue from fees */
|
||||||
"feeReceiveAddress": "LZz44iyF4zLCXJTU8RxztyyJZBntdS6fvv",
|
//"feeReceiveAddress": "LZz44iyF4zLCXJTU8RxztyyJZBntdS6fvv",
|
||||||
|
|
||||||
/* How many coins from fee revenue must accumulate on top of the minimum reserve amount
|
/* (Not implemented yet) How many coins from fee revenue must accumulate on top of the
|
||||||
in order to trigger withdrawal to fee address. The higher this threshold, the less of
|
minimum reserve amount in order to trigger withdrawal to fee address. The higher
|
||||||
your profit goes to transactions fees. */
|
this threshold, the less of your profit goes to transactions fees. */
|
||||||
"feeWithdrawalThreshold": 5,
|
//"feeWithdrawalThreshold": 5,
|
||||||
|
|
||||||
/* This daemon is used to send out payments. It MUST be for the daemon that owns the
|
/* This daemon is used to send out payments. It MUST be for the daemon that owns the
|
||||||
configured 'address' that receives the block rewards, otherwise the daemon will not
|
configured 'address' that receives the block rewards, otherwise the daemon will not
|
||||||
|
|
|
@ -387,7 +387,9 @@ function SetupForPool(logger, poolOptions){
|
||||||
|
|
||||||
|
|
||||||
var withdrawalProfit = function(){
|
var withdrawalProfit = function(){
|
||||||
try{
|
|
||||||
|
if (!processingConfig.feeWithdrawalThreshold) return;
|
||||||
|
|
||||||
daemon.cmd('getbalance', [], function(results){
|
daemon.cmd('getbalance', [], function(results){
|
||||||
|
|
||||||
var totalBalance = results[0].response;
|
var totalBalance = results[0].response;
|
||||||
|
@ -404,10 +406,7 @@ function SetupForPool(logger, poolOptions){
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
|
||||||
catch(e){
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue