mirror of https://github.com/BTCPrivate/z-nomp.git
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
|
||||
|
||||
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*).
|
||||
|
||||
#### Features
|
||||
|
@ -197,13 +197,13 @@ Description of options:
|
|||
/* (2% default) What percent fee your pool takes from the block reward. */
|
||||
"feePercent": 0.02,
|
||||
|
||||
/* Your address that receives pool revenue from fees */
|
||||
"feeReceiveAddress": "LZz44iyF4zLCXJTU8RxztyyJZBntdS6fvv",
|
||||
/* (Not implemented yet) Your address that receives pool revenue from fees */
|
||||
//"feeReceiveAddress": "LZz44iyF4zLCXJTU8RxztyyJZBntdS6fvv",
|
||||
|
||||
/* How many coins from fee revenue must accumulate on top of the minimum reserve amount
|
||||
in order to trigger withdrawal to fee address. The higher this threshold, the less of
|
||||
your profit goes to transactions fees. */
|
||||
"feeWithdrawalThreshold": 5,
|
||||
/* (Not implemented yet) How many coins from fee revenue must accumulate on top of the
|
||||
minimum reserve amount in order to trigger withdrawal to fee address. The higher
|
||||
this threshold, the less of your profit goes to transactions fees. */
|
||||
//"feeWithdrawalThreshold": 5,
|
||||
|
||||
/* 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
|
||||
|
|
|
@ -387,7 +387,9 @@ function SetupForPool(logger, poolOptions){
|
|||
|
||||
|
||||
var withdrawalProfit = function(){
|
||||
try{
|
||||
|
||||
if (!processingConfig.feeWithdrawalThreshold) return;
|
||||
|
||||
daemon.cmd('getbalance', [], function(results){
|
||||
|
||||
var totalBalance = results[0].response;
|
||||
|
@ -404,10 +406,7 @@ function SetupForPool(logger, poolOptions){
|
|||
}
|
||||
|
||||
});
|
||||
}
|
||||
catch(e){
|
||||
throw e;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue