Lex Pool (A rewritten pool based on uray source)
-
@tross said in Lex Pool (A rewritten pool based on uray source):
He brings up a good point. My pool has been getting ddos every night for a long time. So keep in mind you might get hit.
What is the downside to the DDos? Does it just bog down the pool? I don't have anyone on it yet so can't see that it would slow down that much :) Not sure what a ddos is, I'm more concerned that an attacker could access files on the computer or worse yet on my local network. I may have been watching to much TV where the hacker just types really fast and hard on a keyboard for 10-15 seconds and suddenly "HE's In". Jeez, it took me 3 days just to see one web page.
-
@Lexicon said in Lex Pool (A rewritten pool based on uray source):
@rds generally i dont host on my home internet. its not stable enough. the ip is usually dynamic and if your pc restarts and you havnt set up static ip's on the computer youll find no one can connect.
generally pools should always be set up on a vps or hosted solution because
- you dont have to port forward
- it can handle more traffic
- the ip is static
- its more secure than giving your home location away
be warned there's more to hosting a pool than just getting it running. when i first started it cost me loads due to network forks. ghost blocks. then when someone doesn't get paid they take to the forums to call you out as a scammer when really the pool farted.
ive been ddosed at least 5 times so far so expect similar this is why i dont host my pool on my home connection.
the pool fees wont pay enough back for the hosted solution so in essence your paying for people mining to begin with unless
Appreciate your input. My situation is a bit different. I wanted to do this to see if I could do it.
-
I have port forwarded and successfully accessed the front end web page. I see you can edit it to your liking. I have never edited a web page but I will take baby steps at first to maybe change some colors or some such thing.
-
For now, traffic will not be a problem, as I'm the only miner soon to be testing it for now.
-
I set up my IP to be static behind the router. Not sure if my service provider switches IPs but I will be monitoring that as well.
-
When you say home location, do you mean geographically? How would that be done? Not sure I understand what you're saying.
Anyway thanks to all for all your help and future help, it has been a learning experience.
-
@rds tross got a threatening letter. a ddos on your home address can cause your isp to cancel your broadband. as well as potentially fry your router.
-
@rds you should be fine to start out with. tross started on his home connection. it only really becomes a problem when you get bigger anyway
-
@Lexicon said in Lex Pool (A rewritten pool based on uray source):
@rds you should be fine to start out with. tross started on his home connection. it only really becomes a problem when you get bigger anyway
Yes, I'm not a big dog like @tross is.
Back to technicals, is there a reason that the web page shows current block "0" but the node window is counting down blocks? Even with no miners yet, I would think that the current block would show.
-
@rds yeah unblock port 4443 and that should then work externally
port 4443 is the websocket port that does all the stuff on the webpage
your running windows right?
-
@Lexicon said in Lex Pool (A rewritten pool based on uray source):
@rds yeah unblock port 4443 and that should then work externally
port 4443 is the websocket port that does all the stuff on the webpage
your running windows right?OK, thanks, I forgot about @tross telling me to do that. I was so bent on the fact that 80 got the picture I forgot the rest (4443). Do I need to unblock(forward) the 8123,8124,8125 ports? They seem to be working.
-
@rds said in Lex Pool (A rewritten pool based on uray source):
@Lexicon said in Lex Pool (A rewritten pool based on uray source):
@rds yeah unblock port 4443 and that should then work externally
port 4443 is the websocket port that does all the stuff on the webpage
your running windows right?OK, thanks, I forgot about @tross telling me to do that. I was so bent on the fact that 80 got the picture I forgot the rest (4443).
I just forwarded 4443, 8123, 8124 and 8125. No change, the web page looks like the template in the pool folder.
-
Here is the config. Anything look wrong?
module.exports = {
wallets : [
{
walletIP : '127.0.0.1',
walletPort : 8125,
walletUrl : 'http://127.0.0.1:8125'
}
],
redirection : {
enabled : false,
target : 'http://lhc.ddns.net:8124'
},
walletIndex: 0,
blockMature : 1,
txFeePercent : 0.0005,
devFee : true,
devFeePercent : 0.01,
poolFee : 0.01,
poolDiff : 1000000,
poolDiffCurve : 0.75,
poolPort : 8124,
poolPvtKey : 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
poolPublicRS : 'BURST-KNYE-MZYJ-7QJ4-3AGX8',
poolPublic : '1401155532964514862',
poolFeePaymentAddr : 'BURST-7LD5-LG6X-J9LY-9C7CD',
defaultPaymentDeadline : 1440,
poolFeePaymentTxFeeNQT : 100000000,
httpPort : 80,
websocketPort : 4443,
enablePayment : true,
minimumPayout : 250.0,
clearingMinPayout : 2.0,
lastSessionFile : 'last-session.json',
cumulativeFundReduction : 0.5,
logWebsocketToConsole : false,
maxRoundCount : 97,
sharePenalty : 0.0,
maxRecentPaymentHistory : 50
};
-
@Lexicon , @tross , I noticed there are no DL limits in the pool config file. Does this pool accept all DLs regardless of time?
If so, if the miner is configured with a DL limit then potentially a miner would miss submitting DLs to the pool and lose share?
I'm only starting to learn about this type of pool, more familiar with the ninja style.
How are the payout apportioned? 60 to the block winner 40 to the historic or is it a totally different system?
-
I set up a small miner to submit to the pool. The npm window shows:
new block #365638 BT:783951 ND:23375.432643111624
new block #365639 BT:776086 ND:23612.323629082344
new best deadline 5493958524091
new best deadline 1022433428633
new best deadline 574714498239
new best deadline 456128125255
new best deadline 151211320091
new best deadline 64927649395
new best deadline 62434704298
new best deadline 36122006687
new best deadline 14246593347
new best deadline 1202478113
new best deadline 748045055
new best deadline 655013716
new best deadline 150060541
new best deadline 128912286
new best deadline 102584825
new best deadline 19820983
new best deadline 11256030
new best deadline 8166900
new best deadline 1577062
new best deadline 923124
new best deadline 459827
new best deadline 111824
new best deadline 59751
new best deadline 33692
new block #365640 BT:768559 ND:23843.57452843568
new best deadline 4326259209939
new best deadline 2989056492248
new best deadline 1516089465330
new best deadline 793047814143
new best deadline 464403278612
new best deadline 77941764091
new block #365641 BT:741210 ND:24723.349382766017
new best deadline 50352494
new best deadline 9704143
new best deadline 5311205
new best deadline 1830058
new best deadline 1266400
new best deadline 767720
new best deadline 12245
new block #365642 BT:742991 ND:24664.08583145691
new best deadline 57934354
new best deadline 25398069
new best deadline 23029235
new best deadline 21010904
new best deadline 10256873
new best deadline 8069871
new best deadline 3095372
new best deadline 415308
new best deadline 223333
new block #365643 BT:705731 ND:25966.258809659772
new best deadline 54089212
new best deadline 2148490
new best deadline 1944081
new best deadline 632495
new best deadline 37096
new block #365644 BT:655595 ND:27952.003593682075
new best deadline 7363917
new best deadline 597201
new best deadline 16981
new block #365645 BT:657936 ND:27852.547658130883
new best deadline 138268
new best deadline 119471
new block #365646 BT:660264 ND:27754.34340809131
new best deadline 67111
new best deadline 16127
new best deadline 4250
new block #365647 BT:584088 ND:31374.028906603115
new best deadline 40257
new best deadline 38985So it appears that the pool is functional but the web page is still static?
-
@rds try replacing socket.io.js with https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.1/socket.io.js
-
@Lexicon , So I would copy all the script off the web link you posted, edit socket.io in the client folder, replace the script in there with the web script and save the file with the same name (socket.io) ?
-
Worked like a charm. Thanks I now see an active, animated webpage. 1 miner, haha.
As a point of interest, why did this solve the problem? Was it specific to my situation or should this file be the standard for the pool software?
-
@Lexicon ,
Is the pool fee BURST account supposed to show up as a miner? I only have one miner, but the screen shows 2 miners and one if the FEE account??
-
@rds ja it shows the fee accountant as a miner . Something I seen earlier cumulativeFundReduction : 0.5,
Thats going to pay 50 / 50 .
-
@tross said in Lex Pool (A rewritten pool based on uray source):
@rds ja it shows the fee accountant as a miner . Something I seen earlier cumulativeFundReduction : 0.5,
Thats going to pay 50 / 50 .
Not sure I understand the payout structure can you explain it in ninja terms?
I know for ninja, if you hit a block you get your current share and your historic share I believe it's 60% for the current 40% for the historic. Is that how it is for this pool except it's 50/50?
-
@rds that setting pay 50% current shares and 50% All Shares (historical shares) change it to .40 then its 60/40
-
@tross said in Lex Pool (A rewritten pool based on uray source):
@rds that setting pay 50% current shares and 50% All Shares (historical shares) change it to .40 then its 60/40
OK, that is simple enough, thanks.
What do the numbers in the brackets mean next to the miners in the "all round shares" box mean?
-
