Bitcoin Forum
April 26, 2024, 09:11:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 [57] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 ... 425 »
  Print  
Author Topic: [CLOSED] BTC Guild - Pays TxFees+NMC, Stratum, VarDiff, Private Servers  (Read 902902 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
October 15, 2012, 11:28:37 PM
 #1121

Why no stratum on port80?  All the others are working great!  Thanks MM!

I will probably setup a port 80 Stratum server when I merge some of the getwork servers together.

RIP BTC Guild, April 2011 - June 2015
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
beekeeper
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250


LTC


View Profile WWW
October 16, 2012, 11:12:14 AM
 #1122

Is there any upper limit?  Shocked
Quote
2012-10-15 11:00:46,516 INFO proxy client_service.handle_event # Setting new difficulty: 64

There is no upper limit (why should there be?).  It will keep doubling the difficulty until you hit the sweet spot which is 1 share every 4-6 seconds approximately (it doubles when you exceed 1 per 3 seconds after a 5 minute evaluation, or if you're going extremely fast over a 1 minute evaluation).

I think hash result is a positive/unsigned integer, if you keep divide target, depends how target is represented and what sort of inequality you use, diff wont matter anymore or no hash will pas target verification. I would have put a soft limit before that, however, considering ASIC war which will probably happen after preorders, moores law and quantum computing, we may get to the point where vardiff will mean hash result = 0, target = 0 and inequality is equality.    Cheesy

25Khs at 5W Litecoin USB dongle (FPGA), 45kHs overclocked
https://bitcointalk.org/index.php?topic=310926
Litecoin FPGA shop -> http://ltcgear.com
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
October 16, 2012, 03:05:41 PM
 #1123

Is there any upper limit?  Shocked
Quote
2012-10-15 11:00:46,516 INFO proxy client_service.handle_event # Setting new difficulty: 64

There is no upper limit (why should there be?).  It will keep doubling the difficulty until you hit the sweet spot which is 1 share every 4-6 seconds approximately (it doubles when you exceed 1 per 3 seconds after a 5 minute evaluation, or if you're going extremely fast over a 1 minute evaluation).

I think hash result is a positive/unsigned integer, if you keep divide target, depends how target is represented and what sort of inequality you use, diff wont matter anymore or no hash will pas target verification. I would have put a soft limit before that, however, considering ASIC war which will probably happen after preorders, moores law and quantum computing, we may get to the point where vardiff will mean hash result = 0, target = 0 and inequality is equality.    Cheesy

It would depend on how the miner software has implemented the target.  The hard limit in bitcoin is a 256-bit target (at which point you can't get any harder unless we move beyond SHA256).  That target would be 256 sequential 0-bits.  In my pool software, I double the decimal representation of difficulty each time because I'm checking the bits.  Difficulty of 1 is 32 sequential 0 bits.  Each time difficulty is doubled, it's checking one more sequential bit for 0.

Remember, even with Moore's Law, you're looking at doubling every ~18 months.  To even hit 100 out of 256 bits of difficulty (147,573,952,589,676,412,928 if my math is right), we've got a long way to go.  Right now we're at 52-53 bits.  So somewhere around 60 years.  And we'll still have 156 bits left after that.  It would be up to mining software to update for any 32/64-bit limitations on share targets conversions.

RIP BTC Guild, April 2011 - June 2015
-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
October 16, 2012, 09:50:10 PM
 #1124

cgminer can currently cope on stratum with 96 bits of the difficulty target since the first 32 bits are zeroes and I'm currently using a 64bit unsigned integer for diff calculation. So that allows a maximum difficulty of 18,446,744,073,709,551,616. So we've still got a while to go... and I can always revise it in the future.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
October 16, 2012, 10:00:46 PM
 #1125

cgminer can currently cope on stratum with 96 bits of the difficulty target since the first 32 bits are zeroes and I'm currently using a 64bit unsigned integer for diff calculation. So that allows a maximum difficulty of 18,446,744,073,709,551,616. So we've still got a while to go... and I can always revise it in the future.

If any of us are even alive at that point.  Decades of doubling every 18 months before the _share_ targets would be that high.  Even if your starting point is a "1 TH/s" ASIC.

RIP BTC Guild, April 2011 - June 2015
-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
October 16, 2012, 10:08:24 PM
 #1126

cgminer can currently cope on stratum with 96 bits of the difficulty target since the first 32 bits are zeroes and I'm currently using a 64bit unsigned integer for diff calculation. So that allows a maximum difficulty of 18,446,744,073,709,551,616. So we've still got a while to go... and I can always revise it in the future.

If any of us are even alive at that point.  Decades of doubling every 18 months before the _share_ targets would be that high.  Even if your starting point is a "1 TH/s" ASIC.
Right, I guess I left the sarcasm tag off my post.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
ilovethebtc
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
October 18, 2012, 02:31:19 PM
 #1127

Hello, I seem to be experiencing an issue with while doing a BTC payout.  I get the following message:

A payout request is already being processed for your account (you may have clicked the link twice).

I have been seeing this since yesterday.  Does anybody know how I can resolve this?  Thanks.
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
October 18, 2012, 04:11:13 PM
 #1128

Hello, I seem to be experiencing an issue with while doing a BTC payout.  I get the following message:

A payout request is already being processed for your account (you may have clicked the link twice).

I have been seeing this since yesterday.  Does anybody know how I can resolve this?  Thanks.

This tends to happen whenever the bitcoin software fails to respond to the RPC command.  It's a pretty rare occurrence, but tends to be the result of the wallet getting heavily fragmented.  I'll be fixing the problem over the next hour.  I may have to do a restart of the servers and point them at a new wallet address, because it seems to have happened to multiple people over the last 2 days, and normally it only happens once a month at most.

RIP BTC Guild, April 2011 - June 2015
ilovethebtc
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
October 18, 2012, 04:13:15 PM
 #1129

This tends to happen whenever the bitcoin software fails to respond to the RPC command.  It's a pretty rare occurrence, but tends to be the result of the wallet getting heavily fragmented.  I'll be fixing the problem over the next hour.  I may have to do a restart of the servers and point them at a new wallet address, because it seems to have happened to multiple people over the last 2 days, and normally it only happens once a month at most.

Thank you for looking into this matter.
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
October 18, 2012, 04:29:46 PM
Last edit: October 18, 2012, 04:46:59 PM by eleuthria
 #1130

The stuck payouts (payments that were made but never confirmed by bitcoind) have been manually added in, and the accounts have been "unfrozen" so they can request payouts again.

I've updated my payout script slightly to fix this faster in the future.  Whenever it happens again, the payment will be added to your history (so far there has never been an instance where the payment wasn't made), and your account will be "frozen" again.  When it happens, anytime I personally go to the website a very large blinking banner will appear telling me that a payment was not fully completed, so that I can go in and verify the transaction and unfreeze the account.  I load the page constantly throughout the day, so the maximum time an account should ever be stuck in frozen status would be maybe 12 hours except in very unusual circumstances.

During "frozen" status, you can always turn on automatic payments.  This has always been the preferred method of users handling their payouts since it means I'm not having to move coins in/out of a cold wallet as a result of users leaving coins in their account for long periods of time.

RIP BTC Guild, April 2011 - June 2015
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
October 18, 2012, 07:20:48 PM
 #1131

I don't know if this is related to the reboots that you mentioned, but my Stratum Mining Proxy died around 11:15am Pacific. It was pointed to "btcguild.com" and it is getting a connection timed out error. I switched to "stratum.btcguild.com" and it's up and running.
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
October 18, 2012, 07:46:31 PM
 #1132

Stratum had its first crash...straight up segfault.  Restarted it inside GDB to catch the cause next time it happens (if it does).

RIP BTC Guild, April 2011 - June 2015
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
October 18, 2012, 08:10:38 PM
 #1133

Stratum had its first crash...straight up segfault.  Restarted it inside GDB to catch the cause next time it happens (if it does).
Does the Stratum code that runs on your pool get updated like the version we run from github? (Currently 1.1.1)
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
October 18, 2012, 08:11:20 PM
 #1134

Stratum had its first crash...straight up segfault.  Restarted it inside GDB to catch the cause next time it happens (if it does).
Does the Stratum code that runs on your pool get updated like the version we run from github? (Currently 1.1.1)

My Stratum pool is not related to the proxy or pool that slush has posted.  It's an entirely custom C++ design.

RIP BTC Guild, April 2011 - June 2015
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
October 18, 2012, 08:13:44 PM
 #1135

Stratum had its first crash...straight up segfault.  Restarted it inside GDB to catch the cause next time it happens (if it does).
Does the Stratum code that runs on your pool get updated like the version we run from github? (Currently 1.1.1)

My Stratum pool is not related to the proxy or pool that slush has posted.  It's an entirely custom C++ design.

Cool, I figured it had to be something beefy to handle the load. I didn't think you would be running that in Python.  Wink
beekeeper
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250


LTC


View Profile WWW
October 18, 2012, 08:26:23 PM
 #1136

Stratum had its first crash...straight up segfault.  Restarted it inside GDB to catch the cause next time it happens (if it does).
Diff was so big it bounced out of the memory.. Cheesy

25Khs at 5W Litecoin USB dongle (FPGA), 45kHs overclocked
https://bitcointalk.org/index.php?topic=310926
Litecoin FPGA shop -> http://ltcgear.com
slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
October 19, 2012, 09:28:51 AM
 #1137

Cool, I figured it had to be something beefy to handle the load. I didn't think you would be running that in Python.  Wink

Not so funny. My current Python implementation is able to handle Bitcoin network hashrate on two CPU cores :-P. And as a bonus, it don't segfault at all Wink.

eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
October 19, 2012, 09:31:41 AM
Last edit: October 19, 2012, 09:59:29 AM by eleuthria
 #1138

Cool, I figured it had to be something beefy to handle the load. I didn't think you would be running that in Python.  Wink

Not so funny. My current Python implementation is able to handle Bitcoin network hashrate on two CPU cores :-P. And as a bonus, it don't segfault at all Wink.

Python isn't immune to crashing ;p  And with 600 concurrent users CPU usage never breaks above 3% of one core at peak.  Peak being when it's parsing a getmemorypool output with a large # of transactions, and spitting the work out.

I've been running Stratum for over a month now on the main servers with no crash, and even beta didn't crash after the first week, just restarts to add/speed up features.  I'm pretty surprised it happened now, but hopefully it will happen again and I can backtrace the exact cause and implement a fix shortly after.

RIP BTC Guild, April 2011 - June 2015
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
October 20, 2012, 03:09:30 AM
 #1139

I just wanted to give everybody a small update on what new things will be heading to BTC Guild soon.  The Stratum pool is being run in a debugger right now, so the next time it crashes (first one took over a month to happen) the bug that caused it can be swiftly patched.

After the crash bug has been found, I will be working on a special log file that is updated whenever the Stratum pool updates its transactions and sends out new work.  The goal of the update is that at any time, a miner will be able to inspect the full list of all transactions that are a part of the block being created.  As of this time I don't know if the page will be able to provide full details like you would see on blockchain.info (inputs/outputs) or just the transaction hash + raw transaction data.

RIP BTC Guild, April 2011 - June 2015
Naelr
Full Member
***
Offline Offline

Activity: 231
Merit: 100


View Profile WWW
October 20, 2012, 06:15:02 AM
 #1140

Thanks for all your work!  Guys like you and slush keep the dream alive!

naelr

Join me in hosted mining.  And always use 2 Factor Auth whenever possible.
CEX.IO hosting mining
Pages: « 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 [57] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 ... 425 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!