Pages:
Author

Topic: [ANN][LTC][Pool][PPLNS][STRATUM] - ltc.kattare.com - burnside's Mining Pool - page 40. (Read 118882 times)

legendary
Activity: 1102
Merit: 1014
How does one change their pin?
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
You may have noticed some strangeness in the block payouts the last couple days.

Two days ago I noticed the pool wallet had lost 50 LTC, and discovered another simplecoin bug where it was paying for orphans.  (not a good thing for a PPLNS zero fee pool!)  I tried to fix it and ended up instead breaking things worse.  It started paying out all blocks found instantly.  Sad  So it was doing that most of the day yesterday, not a huge deal.

Tried to fix it last night though, and broke it in the opposite direction.  I did an SQL query with txid = '' that should have been txid IS NULL.  So for the last 8 hours or so it wasn't paying out at all.   Angry

This morning I fixed that.  The first cron run after I fixed it paid out all the blocks properly and things are good so far.  Cheesy  I think we should be stable from here on out.

Cheers.
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
Added time to retarget (time until next difficulty change) to the stats page.
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
Ironic perhaps, but totally allowable.

I know it is a side topic, but the GPL does not require you to release modifications that you make, even if you use it commercially.  As long as if you sell the modified code you include the source you are good, and even then, the party that you sell it to is not obliged to release it.

Yup, definitely allowable and legal, however, to not share is not so much in the spirit of community and collaboration.

Still, I won't likely be giving up the source to the site quite so easily. Simplecoin v5 is riddled with issues and add to that the bitcoin=>litecoin conversion... it's definitely a lot of work getting it functional.  I have a ton of respect for pooler and the ozcoin guys, they have some really nice polished pools.
NRF
sr. member
Activity: 279
Merit: 250
What mods did you make to pushpoold?

Is there a git repo I could pull them from? I run a private pool and would love to lower the stales Smiley

I'm hoping you just missed this. The irony of using an open source pool daemon, open source web front end for an open source crypto currency but keeping your modifications private would be too thick. Wink

haha, yes, that would be quite ironic!


Ironic perhaps, but totally allowable.

I know it is a side topic, but the GPL does not require you to release modifications that you make, even if you use it commercially.  As long as if you sell the modified code you include the source you are good, and even then, the party that you sell it to is not obliged to release it.
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
What mods did you make to pushpoold?

Is there a git repo I could pull them from? I run a private pool and would love to lower the stales Smiley

I'm hoping you just missed this. The irony of using an open source pool daemon, open source web front end for an open source crypto currency but keeping your modifications private would be too thick. Wink

haha, yes, that would be quite ironic!

And I apologize, the patch is actually to litecoind, I believe it's available elsewhere here on the forum, but here's a patchfile for the latest version from coblee:

Code:
--- tmp/litecoin/src/main.cpp   2012-07-26 13:01:04.274639989 -0700
+++ litecoin/src/main.cpp       2012-07-26 12:55:31.393388988 -0700
@@ -8,6 +8,7 @@
 #include "db.h"
 #include "net.h"
 #include "init.h"
+#include "signal.h"
 #include "ui_interface.h"
 #include
 #include
@@ -1544,6 +1545,7 @@
 bool CBlock::SetBestChain(CTxDB& txdb, CBlockIndex* pindexNew)
 {
     uint256 hash = GetHash();
+       bool lp = false;
 
     if (!txdb.TxnBegin())
         return error("SetBestChain() : TxnBegin failed");
@@ -1610,6 +1612,7 @@
     bool fIsInitialDownload = IsInitialBlockDownload();
     if (!fIsInitialDownload)
     {
+               lp = true;
         const CBlockLocator locator(pindexNew);
         ::SetBestChain(locator);
     }
@@ -1623,6 +1626,25 @@
     nTransactionsUpdated++;
     printf("SetBestChain: new best=%s  height=%d  work=%s\n", hashBestChain.ToString().substr(0,20).c_str(), nBestHeight, bnBestChainWork.ToString().c_str());
 
+    if (lp)
+    {
+        // Support long polling
+        string lp_pid = mapArgs["-pollpidfile"];
+        if(lp_pid != "")
+        {
+            FILE *pidFile = fopen(lp_pid.c_str(), "r");
+            if(pidFile!=NULL)
+            {
+                int pid=0;
+                if ((fscanf(pidFile, "%d", &pid) == 1) && (pid > 1))
+                               {
+                    kill((pid_t) pid, SIGUSR1);
+                               }
+                fclose(pidFile);
+            }
+        }
+    }
+
     std::string strCmd = GetArg("-blocknotify", "");
 
     if (!fIsInitialDownload && !strCmd.empty())

The +signal.h is my add, to get it to compile on my box.

Updated my original post.

Cheers.
hero member
Activity: 914
Merit: 500
What mods did you make to pushpoold?

Is there a git repo I could pull them from? I run a private pool and would love to lower the stales Smiley

I'm hoping you just missed this. The irony of using an open source pool daemon, open source web front end for an open source crypto currency but keeping your modifications private would be too thick. Wink
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
This came in via PM today:  (hope the author doesn't mind my posting this... doesn't seem sensitive at all)

Quote
Hey, burnside!

I've been mining at your pool and I wanted to make two suggestions.

Maybe you could add a record of how many shares and ltc earned on each block on the block stats page.

Second, a stat showing how many blocks you've found total. Maybe put a top block finders list on the pool stats page even? Hey that's 3 suggestions!

If I think of some more I'll send them your way!

Thanks for the pool btw, I like it. I don't know why but I seem to have problems with some of the other ones but yours works well for me.

Shares and ltc earned on the block page is now working.  I noticed in the process of doing this that the estimate that shows up in the header/title bar is calculated using proportional per round equations, not pplns 500,000.  I'm going to have to fix that sooner or later.  Simplecoin is definitely buggy out of the box.   Undecided

Blocks found total on the pool stats page is also now working.  Wink

Great suggestions, thanks!
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
New feature... Timezone support.  ;-)  Set your timezone in your account settings.

Cool, thanks for that, my head only seems to work in NZST or UTC (GMT).  I am getting old Wink

No worries, glad I could assist.  One side note... you may see some changes immediately, and others will take a few minutes to fall out of the cache.

Anywhere you find it not working after ~15 minutes, please let me know and I'll see what I can do.

Cheers.
NRF
sr. member
Activity: 279
Merit: 250
New feature... Timezone support.  ;-)  Set your timezone in your account settings.

Cool, thanks for that, my head only seems to work in NZST or UTC (GMT).  I am getting old Wink
hero member
Activity: 914
Merit: 500
What mods did you make to pushpoold?

Is there a git repo I could pull them from? I run a private pool and would love to lower the stales Smiley
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
New feature... Timezone support.  ;-)  Set your timezone in your account settings.
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
That's a great idea...  I'll see what I can do.

Hi,

Good pool, been playing with it for a few days (I even found a block with a CPU miner (asdfnz)), I do have one request though, how about allowing users to set their timezone.  Or at the very least set your server to UTC (like the blockchain).

PST is cool and all, but it makes my head hurt when I look at your graphs.
NRF
sr. member
Activity: 279
Merit: 250
Hi,

Good pool, been playing with it for a few days (I even found a block with a CPU miner (asdfnz)), I do have one request though, how about allowing users to set their timezone.  Or at the very least set your server to UTC (like the blockchain).

PST is cool and all, but it makes my head hurt when I look at your graphs.
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
Added dead worker notifications via email.  If your worker goes dead and is no longer registering shares, you'll receive an email from us.

To turn it on, browse to your account settings, check the 'Monitor' box for the worker you want to be notified on, and click 'Update Worker'.

Cheers.
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
coblee rolled out a new litecoin client today, no new blocks were accepted on the old one.  (thus the 8 hour gap of no new blocks)

we're updated now, and things seem to be rolling smoothly.
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
I bumped the rpc.target.bits to 20 today, seems like most of the pools are running at 20 or 21 now as difficulty has gone up.

I also implemented a few anti-ddos measures today.  Sorry about the brief interruptions as I was making tweaks.  Wink
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
Crap.  I was trying to figure out how my pool wallet was losing money.  Being zero fee it should have been just hovering at the same balance.  I started digging into the transaction log on the litecoin client and it turns out that even though I have "paytxfee=0.00" set in my litecoin.conf I've still been paying 0.1 LTC fees on payout transactions.  Ugh.

Examples:

    {
        "account" : "",
        "address" : "LeFMKDnxfc49vDa2JHgxzLtYMjoAdowxHA",
        "category" : "send",
        "amount" : -5.24153911,
        "fee" : -0.10000000,
        "confirmations" : 14,
        "blockhash" : "6fbdb5e3b49f29070ba5bdaea03a52628b417ccc4ba66f72f6346f524a9e5a2a",
        "blockindex" : 8,
        "txid" : "200b62cc64458d374ee6d5f0b522350d9ff7d6d581a20135974bdd5a6ad6deee",
        "time" : 1343195971
    },

    {
        "account" : "",
        "address" : "LgRrEs88eNsBAiDb71ayDkoQzv7cmR29NX",
        "category" : "send",
        "amount" : -1.23728250,
        "fee" : -0.10000000,
        "confirmations" : 14,
        "blockhash" : "6fbdb5e3b49f29070ba5bdaea03a52628b417ccc4ba66f72f6346f524a9e5a2a",
        "blockindex" : 7,
        "txid" : "ae772409e1301297f63d2650ea2dd8d02e99cbdfab3e70c2b946b6189a192b4e",
        "time" : 1343195973
    },

Since not every transaction is costing 0.1 LTC (seems like about half are) I have set the transaction fee to 0.05 LTC.  Sorry everyone.  I really hoped I could leave it zero fee.   Sad

To hopefully reduce the impact of this on people with auto payouts, I have bumped up the max auto payout to 100 LTC.

Fair warning as well, eventually I am going to require auto payouts.  If the site is ever hacked I don't want to have a big pool of other people's LTC in my wallet.  Hope that makes sense.

Cheers.
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
This beta pool has flown under the radar so far and has not been DDoS attacked, but just to keep from attracting unwanted attention I have closed it off to all but registered users for the time being.  Hopefully no one minds. 
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
Added network hashrate display
Added estimated next difficulty display
Added summary of how PPLNS works on the About page.
Pages:
Jump to: