Lex Pool (A rewritten pool based on uray source)
-
@Lexicon oops forgot one lol
-
@iKnow0 , point taken but not sure what the configuration should be as there is no complete from a to z, "how to set up a pool" documentation. I am slowly working towards my goal by @tross, @crk , and @Lexicon's help. I wish I could post pics but something's wrong with the forum picture posting feature @haitch. Worst case I can always reset the router, correct. I try to make each change one step at a time and time to allow to see if there were any adverse action from a change. I have heard about port forwarding but didn't think I had to do it because I never did it for wallets running on 8015, 8115 and 8125.
Here is a partial print of netstat run in the cmd window:
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 9160
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 1004
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:2869 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:4443 0.0.0.0:0 LISTENING 9160
TCP 0.0.0.0:5357 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:7779 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:8123 0.0.0.0:0 LISTENING 7972
TCP 0.0.0.0:8124 0.0.0.0:0 LISTENING 9160
TCP 0.0.0.0:49664 0.0.0.0:0 LISTENING 684
TCP 0.0.0.0:49665 0.0.0.0:0 LISTENING 1228
TCP 0.0.0.0:49666 0.0.0.0:0 LISTENING 896
TCP 0.0.0.0:49667 0.0.0.0:0 LISTENING 1888
TCP 0.0.0.0:49669 0.0.0.0:0 LISTENING 772
TCP 0.0.0.0:49670 0.0.0.0:0 LISTENING 740
TCP 127.0.0.1:4443 127.0.0.1:56436 ESTABLISHED 9160
TCP 127.0.0.1:4443 127.0.0.1:59049 ESTABLISHED 9160
TCP 127.0.0.1:4443 127.0.0.1:59050 ESTABLISHED 9160
TCP 127.0.0.1:4443 127.0.0.1:59060 ESTABLISHED 9160
TCP 127.0.0.1:4443 127.0.0.1:59061 ESTABLISHED 9160
TCP 127.0.0.1:4443 127.0.0.1:59063 ESTABLISHED 91609160 is node.exe
7972 is java (wallet)
-
@tross said in Lex Pool (A rewritten pool based on uray source):
@Lexicon oops forgot one lol
Just to reiterate I have one wallet running right now on 8125 (8123 peer server), it is connected to 80 peers. How would forwarding that port help, as I think it is connected to the outside world? I normally run 3 wallets, 8915, 8115, 8125 but for this exercise I shut down the other two.
-
Here's what the pool window looks like, it has been running all night.
A:\Burst\burst-pool-master>npm start
burst-pool@0.0.1 start A:\Burst\burst-pool-master
node burst-pool.jscurrent timestamp 1496125876547
genesis-block blocktime 88403477
genesis-block timestamp 1407722399547
genesis base target = 18325193796
burst pool running on port 8124
websocket running on port 4443
http server running on port 80
new block #365499 BT:760198 ND:24105.81690033386
new block #365500 BT:726685 ND:25217.520378155597
new block #365501 BT:734783 ND:24939.599577017976
new block #365502 BT:741110 ND:24726.685371942087
new block #365503 BT:750658 ND:24412.17411391073
new block #365504 BT:809208 ND:22645.838642227955
new block #365505 BT:766066 ND:23921.16840585537
new block #365506 BT:742259 ND:24688.40902703773
new block #365507 BT:772478 ND:23722.609311850953
new block #365508 BT:759253 ND:24135.82007051668
new block #365509 BT:756179 ND:24233.936403946685
new block #365510 BT:727506 ND:25189.062077838535
new block #365511 BT:772920 ND:23709.043362831857
new block #365512 BT:790460 ND:23182.948910760824
new block #365513 BT:814905 ND:22487.521608040202
new block #365514 BT:797886 ND:22967.18302614659
new block #365515 BT:775588 ND:23627.484948194146
new block #365516 BT:783452 ND:23390.321035621837
new block #365517 BT:729658 ND:25114.77129833429
new block #365518 BT:687522 ND:26653.974412455165
new block #365519 BT:688378 ND:26620.8301194983
new block #365520 BT:669314 ND:27379.068413330664
new block #365521 BT:659032 ND:27806.22761261972
new block #365522 BT:613260 ND:29881.606163780452
new block #365523 BT:555944 ND:32962.301591527204
new block #365524 BT:519653 ND:35264.28943160147
new block #365525 BT:563644 ND:32512.000120643526
new block #365526 BT:626559 ND:29247.355470115344
new block #365527 BT:653723 ND:28032.046900598572
new block #365528 BT:604353 ND:30322.00352443026
new block #365529 BT:634291 ND:28890.830543078806
new block #365530 BT:623845 ND:29374.594323910587
new block #365531 BT:590652 ND:31025.364844273787
new block #365532 BT:574068 ND:31921.643073642845
new block #365533 BT:625977 ND:29274.548100010063
new block #365534 BT:610818 ND:30001.07036138424
new block #365535 BT:574413 ND:31902.470515117173
new block #365536 BT:600953 ND:30493.555728983796
new block #365537 BT:564361 ND:32470.694814134924
new block #365538 BT:558339 ND:32820.90951196316
new block #365539 BT:536558 ND:34153.23934411564
new block #365540 BT:549462 ND:33351.15767059415
new block #365541 BT:573859 ND:31933.268966767097
new block #365542 BT:591903 ND:30959.792053765566
new block #365543 BT:610389 ND:30022.156028368794
new block #365544 BT:610449 ND:30019.205201417317
new block #365545 BT:619090 ND:29600.20965610816
new block #365546 BT:586064 ND:31268.246805809606
new block #365547 BT:604096 ND:30334.90338621676
new block #365548 BT:619272 ND:29591.510347633997
new block #365549 BT:582214 ND:31475.013991418964
new block #365550 BT:529434 ND:34612.801210349164
new block #365551 BT:501839 ND:36516.08144444732
new block #365552 BT:506499 ND:36180.118412869524
new block #365553 BT:476762 ND:38436.775154060095
new block #365554 BT:493986 ND:37096.585320231745
new block #365555 BT:527408 ND:34745.76380335528
new block #365556 BT:514287 ND:35632.23218941953
new block #365557 BT:502767 ND:36448.68059359505
new block #365558 BT:496117 ND:36937.24221504202
new block #365559 BT:484790 ND:37800.27186204336
new block #365560 BT:478582 ND:38290.60390068995
new block #365561 BT:493739 ND:37115.14341787868
new block #365562 BT:515234 ND:35566.740153017854
new block #365563 BT:532439 ND:34417.452132544764
new block #365564 BT:506452 ND:36183.47601747056
new block #365565 BT:475819 ND:38512.95092461629
new block #365566 BT:456270 ND:40163.04774804392
new block #365567 BT:445561 ND:41128.36131528567
new block #365568 BT:437911 ND:41846.84512606443
new block #365569 BT:435851 ND:42044.62946282101
new block #365570 BT:428236 ND:42792.27761327866
new block #365571 BT:440043 ND:41644.09795406358
new block #365572 BT:423891 ND:43230.91029533536
new block #365573 BT:411399 ND:44543.60315897705
new block #365574 BT:405007 ND:45246.61004871521
new block #365575 BT:486008 ND:37705.53940675873
new block #365576 BT:483168 ND:37927.167767732964
new block #365577 BT:527139 ND:34763.49463044851
new block #365578 BT:514689 ND:35604.40148516872
new block #365579 BT:468541 ND:39111.18513854711
new block #365580 BT:504107 ND:36351.79395644179
new block #365581 BT:582755 ND:31445.794194816004
new block #365582 BT:608077 ND:30136.304770612933
new block #365583 BT:614518 ND:29820.43454544863
new block #365584 BT:606892 ND:30195.148059292263
new block #365585 BT:653103 ND:28058.658122838206
new block #365586 BT:652707 ND:28075.681425203038
new block #365587 BT:668831 ND:27398.840358775236
new block #365588 BT:689107 ND:26592.668186508046
new block #365589 BT:712054 ND:25735.679872593933
new block #365590 BT:758899 ND:24147.078591485824
new block #365591 BT:759496 ND:24128.097838566628
new block #365592 BT:817350 ND:22420.253007891355
new block #365593 BT:861712 ND:21266.03064132796
new block #365594 BT:913579 ND:20058.68545139501
new block #365595 BT:904516 ND:20259.6679284833
new block #365596 BT:937770 ND:19541.245503694936
new block #365597 BT:961277 ND:19063.385263560867
new block #365598 BT:995790 ND:18402.66903262736
new block #365599 BT:928079 ND:19745.29516991549
new block #365600 BT:974437 ND:18805.92977893902
new block #365601 BT:929872 ND:19707.221849889018
new block #365602 BT:953050 ND:19227.94585383768
-
Sucess!!! I forwarded port 80 on the pool machine in my router and was able to see the pool page from a remote location.
Are there any security issues I should be aware of by doing this?
Thanks
-
security issues, that's a laugh. You have a pool now be prepared to experience what all other pools experience. Oh You might want to delete your post that shows all your other open ports.
-
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.
-
@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
-
@Burstde said in Lex Pool (A rewritten pool based on uray source):
security issues, that's a laugh. You have a pool now be prepared to experience what all other pools experience. Oh You might want to delete your post that shows all your other open ports.
Are you mocking me or are you being serious? Not being face to face it's hard to tell. Assuming you are serious, can you elaborate on "that's a laugh"? Why would I need to delete a post that shows open ports? Don't all computers have open ports? What's the issue?
-
@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?
