My experience trying to set up a Lex code pool



  • @manfromafar , not sure what you mean? Are you implying that there is illegal activity by loading a piece of software onto my Windows machine? I have Jminer, Blago miner, Xplotter and Burst wallet software installed on 3 windows machines. Oh, and Lex pool software which is not working so well, but that's another story. Am I in violation of some license agreement or TOS? I seriously don't understand what your inference is?



  • @rds said in My experience trying to set up a Lex code pool:

    @manfromafar , not sure what you mean? Are you implying that there is illegal activity by loading a piece of software onto my Windows machine? I have Jminer, Blago miner, Xplotter and Burst wallet software installed on 3 windows machines. Oh, and Lex pool software which is not working so well, but that's another story. Am I in violation of some license agreement or TOS? I seriously don't understand what your inference is?

    To put it bluntly a 2core 2gb 10GB linux vps costs 10$ the equivalent windows vps costs $40. Where as pirating windows on a home pc costs 0$ to run an maintain. Almost all hosters running pools would never think of paying 30$ just to run a OS that requires double the resources and has less support for the needed files.



  • @manfromafar , You lost me but that's ok, I've been lost before.



  • @rds If you're comparing a web server architecture to stand alone EXEs then it would take me too long to get you squared away. Best of luck to you.....


  • admin

    @rds Ninja style pools require FreeBSD - the wallets however will run on just about anything. If you're not looking to run a pool yourself, this is NOT an issue.



  • @rds i.m.o. running a pool requires an in depth knowledge of computers and computer networking, without it the task is borderline impossible, as you will not know the difference between a network configuration issue and a software issue. I applaud you for even trying.



  • @iKnow0 , thanks, the way you learn is to do. So if I run a pool with only 3 miners, all of them me, I get to learn. I have miners in 2 states so I will get to check the connectivity outside my local infrastructure. And the best part, if something goes wrong then I can call myself (the pool admin) a F***** R***** :)

    So right now, the pool will run, but I don't think it is submitting to the network as I believe there were 2 blocks the other day that should have won. I moved my big miners off this pool and back to work. I'm going to do something @tross suggested and make a small miner package to just run and test it. There is no rush for this project and it is a learning experience. I know @haitch had an issue with ccpool was not submitting to the network for awhile before it was resolved. He did/found something wrong, and even he thought everything was right for quite awhile, I wish he would chime in here and tell me what he did to fix ccpoll, maybe that's my problem as well.



  • Learning by doing make your dream come true! Google also helps understand things!



  • @tross @lexicon,

    So I was running the pool code this morning with two miners. I hit 4 blocks within 4 hours. I had the pool fee set at 10%, the max rounds at 197 and the min payout at 2000. Basically I didn't want the pool to payout but leave the funds in the pool account. three of the four block show in block explorer that our miners hit the blocks, The fourth block show someone else hit the block with a 13 min DL. The miner showed our miner hit the block with a DL of 2 min. Interestingly enough the pool command window did not show the pool amount incrementing by the block reward but the amount is in the pool account.

    So, why does the block explorer show someone else hitting the last block but my pool account got paid. Even though the pool screen showed a win the pool screen did not show the pool account value going up?

    Question 2: The command screen showed many line items about stored, pending payments, for each miner and the pool fee account. I now wanted to see the pool pay the miners so I shut down the pool and changed the config file to 10 rounds max and 10 minimum payout. I restarted the pool and have been waiting for 6 hours for a payout but have seen nothing as of yet. Can you please explain to me how rounds and min fees determine pool payouts?

    Question 3:

    If I sign into the pool account with a wallet, it shows the 4 block reward balance. If I put the account number into the block explorer it shows a 0B balance??



  • Lexicon said running a pool is not as easy as it looks. You describe an inconvenience that can be corrected. I have lived through situations that were devastating. You need to post the whole conf.js here. (XXXXXXX out passphrase)!



  • @rds owning a pool is a lot more complicated than you think.

    what you have experienced here is a fork. the burstcoin.biz block explorer cannot be trusted as it stores static data in a sql table that doesnt update off the chain.

    ive highlighted this issue before and if you want to add what you've found to the thread the link is below

    https://forums.burst-team.us/post/72336



  • @tross said in My experience trying to set up a Lex code pool:

    Lexicon said running a pool is not as easy as it looks. You describe an inconvenience that can be corrected. I have lived through situations that were devastating. You need to post the whole conf.js here. (XXXXXXX out passphrase)!

    I didn't think it was an "inconvenience". I was just curious as to how the parameters are manipulated to effect the output you desire. I thought setting rounds high and min payout would defer payment, which it appears to have done, but setting rounds and minimum low did not release the payment as I expected. Also, I was unable to make the logging to file feature work. Cancel, I read your reply on the other thread about not enabling logging but here is anyway. Here is the config file and the logging file:

    Burst-pool-config.js

    module.exports = {
    wallets : [
    {
    walletIP : '127.0.0.1',
    walletPort : 8105,
    walletUrl : 'http://127.0.0.1:8105'
    }
    ],
    redirection : {
    enabled : false,
    target : 'http://lhc.ddns.net:8124'
    },
    walletIndex: 0,
    blockMature : 1,
    txFeePercent : 0.0005,
    devFee : false,
    devFeePercent : 0.01,
    poolFee : 0.10,
    poolDiff : 1000000,
    poolDiffCurve : 0.75,
    poolPort : 8124,
    poolPvtKey : 'xxxxxxxxxxxxxxxxxxxxxxx',
    poolPublicRS : 'BURST-JNYD-MZZJ-7QJ3-3AHW8',
    poolPublic : '1401156732965114827',
    poolFeePaymentAddr : 'BURST-7LB5-LG5X-J8MY-9C7DD',
    defaultPaymentDeadline : 1440,
    poolFeePaymentTxFeeNQT : 100000000,
    httpPort : 80,
    websocketPort : 4443,
    enablePayment : false,
    minimumPayout : 10.0,
    clearingMinPayout : 2.0,
    lastSessionFile : 'last-session.json',
    cumulativeFundReduction : 0.5,
    logWebsocketToConsole : false,
    maxRoundCount : 10,
    sharePenalty : 0.0,
    maxRecentPaymentHistory : 50
    };

    burst-pool-logger.js

    var fs = require('fs');

    var enabled = true;
    var toConsole = true;
    var toFile = true;
    var toGeneralFile = true;
    var generalLogFilename = 'test.txt';

    function TimeStamp() {
    var date = new Date();
    var hour = date.getHours();
    hour = (hour < 10 ? "0" : "") + hour;
    var min = date.getMinutes();
    min = (min < 10 ? "0" : "") + min;
    var sec = date.getSeconds();
    sec = (sec < 10 ? "0" : "") + sec;
    var year = date.getFullYear();
    var month = date.getMonth() + 1;
    month = (month < 10 ? "0" : "") + month;
    var day = date.getDate();
    day = (day < 10 ? "0" : "") + day;
    return year + "-" + month + "-" + day + "_" + hour + "-" + min + "-" + sec;
    }
    function TimeStampFile() {
    var date = new Date();
    var hour = date.getHours();
    hour = (hour < 10 ? "0" : "") + hour;
    var min = date.getMinutes();
    min = (min < 10 ? "0" : "") + min;
    var sec = date.getSeconds();
    sec = (sec < 10 ? "0" : "") + sec;
    var year = date.getFullYear();
    var month = date.getMonth() + 1;
    month = (month < 10 ? "0" : "") + month;
    var day = date.getDate();
    day = (day < 10 ? "0" : "") + day;
    return day+ "-" + month + "-" + year;
    }

    function write(name,text){
    if (enabled){
    if (toFile){
    fs.appendFile('log_'+name+'.txt', TimeStamp()+' '+text+'\n', function (err) {
    if (err) throw err;
    });
    }
    if (toGeneralFile){
    fs.appendFile(generalLogFilename, TimeStamp()+' ('+name+') '+text+'\n', function (err) {
    if (err) throw err;
    });
    }
    if (toConsole){
    console.log('(logger.'+name+") "+text)
    }
    }
    }
    function writeDateLog(text){
    if (enabled){

    		if (toFile){
    		fs.exists('./Logs/log_'+TimeStampFile()+'.txt', function(exists) {
              if (exists) {
                	fs.appendFile('./Logs/log_'+TimeStampFile()+'.txt', TimeStamp()+' '+text+'\n', function (err) {
                    				if (err) throw err;
                    			});
              } else {
              fs.writeFile('./Logs/log_'+TimeStampFile()+'.txt', TimeStamp()+' '+text+'\n', function(err) {
                  if(err) {
                      return console.log(err);
                  }
    
                //  console.log("The file was saved!");
              });
              }
            });
    
    		}
    
    	}
    }
    

    module.exports = {
    write : write,
    writeDateLog:writeDateLog,
    TimeStamp : TimeStamp
    };



  • @Lexicon , @tross, so what is the difference between setting MaxRoundCount to 10 vs, 97, vs 197?



  • I set my max round to a number more than what it takes to get a block. I think I set mine at 90 rounds. When the pool hits 90 round it starts deleting old shares.



  • @lexicon, @tross

    My test pool is reporting payments to the miners but there is no payments in the miner's accounts. The coin is still in the pool account. Is there a port I have to open?



  • What ports do you have open?



  • @tross said in My experience trying to set up a Lex code pool:

    What ports do you have open?

    My router is port forwarding, 4443, 80 and 8124.

    My firewall allows node service in and out.

    My wallet is on port 8105.

    Here is a sample of what is reported but the payments are not made.

    0_1497129438340_358ae556-f4ca-457b-885b-d4eef2bff525-image.png

    BURST-7LB5-LG5X-J8MY-9C7DD payment amount 310.97 is paid
    13145299380788911090 payment amount 907.71 is paid
    15770867970884553098 payment amount 513.84 is paid



  • 8123 - 8125 is the port forward I use for this range



  • @tross said in My experience trying to set up a Lex code pool:

    8123 - 8125 is the port forward I use for this range

    ok, i will try it


Log in to reply
 

Looks like your connection to Burst - Efficient HDD Mining was lost, please wait while we try to reconnect.