slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
January 03, 2011, 10:27:46 PM |
|
Now, I know you're working on the server right now, but wouldn't that just be our luck that I find another block (already found 2 blocks in the last week for the server!) and it doesn't get reported?
You are using puddinpop's miner? I didn't tested it, so I cannot promise it work at all... Teoretically, yes, losing share can lead to losing blocks. But in this case also 'non-winning' shares are lost, so it should not change final share/block ratio. I'm working on it with some guys, so I hope we will find a reason soon. While a "Block" get you 50 BTC when you find it (or the Pooled mining gets it in this case)....so when I see the word "BLOCK", I think 50bitcoins... Or did puppinpop call all these "blocks" instead of "meta-hashes" or "mini-blocks", which helps confuse the crap out of everyone...IMO.
You are right that it can be a little confusing, but it is how things works; General purpose miners (m0mchil's, Diablo's, jgarzik's) don't have an idea that they aren't solving full difficulty hashes...
|
|
|
|
|
|
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
chris200x9
Legendary
Offline
Activity: 1316
Merit: 1011
|
|
January 03, 2011, 10:49:12 PM |
|
can I get step by step instructions on how to set this up...what do I put in my bitcoin.conf?
|
|
|
|
Sawzall
|
|
January 03, 2011, 10:50:23 PM |
|
Minor thing: It'd be nice to have the current UTC time displayed in the statistics page.
|
|
|
|
chris200x9
Legendary
Offline
Activity: 1316
Merit: 1011
|
|
January 03, 2011, 11:10:54 PM |
|
can I get step by step instructions on how to set this up...what do I put in my bitcoin.conf?
python2 ./poclbm.py -o http://mining.bitcoin.cz-p 8332 --user=chris200x9.laptop --pass=**** -d 0 gives me Traceback (most recent call last): File "./poclbm.py", line 34, in <module> myMiner.mine() File "/home/chris200x9/poclbm/BitcoinMiner.py", line 99, in mine work = self.getwork() File "/home/chris200x9/poclbm/BitcoinMiner.py", line 85, in getwork return self.bitcoin.getwork() File "/usr/lib/python2.7/site-packages/jsonrpc/proxy.py", line 42, in __call__ respdata = urllib.urlopen(self.__serviceURL, postdata).read() File "/usr/lib/python2.7/urllib.py", line 86, in urlopen return opener.open(url, data) File "/usr/lib/python2.7/urllib.py", line 207, in open return getattr(self, name)(url, data) File "/usr/lib/python2.7/urllib.py", line 331, in open_http h = httplib.HTTP(host) File "/usr/lib/python2.7/httplib.py", line 1047, in __init__ self._setup(self._connection_class(host, port, strict)) File "/usr/lib/python2.7/httplib.py", line 681, in __init__ self._set_hostport(host, port) File "/usr/lib/python2.7/httplib.py", line 706, in _set_hostport raise InvalidURL("nonnumeric port: '%s'" % host[i+1:]) httplib.InvalidURL: nonnumeric port: ''
|
|
|
|
fabianhjr
Sr. Member
Offline
Activity: 322
Merit: 250
Do The Evolution
|
|
January 03, 2011, 11:24:52 PM |
|
python2 ./poclbm.py -o http://mining.bitcoin.cz-p 8332 --user=chris200x9.laptop --pass=**** -d 0 You might want to add a space: python2 ./poclbm.py -o http://mining.bitcoin.cz -p 8332 --user=chris200x9.laptop --pass=**** -d 0
|
|
|
|
chris200x9
Legendary
Offline
Activity: 1316
Merit: 1011
|
|
January 03, 2011, 11:27:29 PM |
|
same thing, I think there was a space put was a newline so didn't copy paste right.
|
|
|
|
fabianhjr
Sr. Member
Offline
Activity: 322
Merit: 250
Do The Evolution
|
|
January 03, 2011, 11:32:00 PM |
|
Slush, part of your code are belong to us now. ViewDoesNotExist at /accounts/profile/
Could not import web.views. Error was: No module named csrf
Request Method: GET Request URL: http://mining.bitcoin.cz/accounts/profile/ Exception Type: ViewDoesNotExist Exception Value:
Could not import web.views. Error was: No module named csrf
Exception Location: /usr/lib/python2.6/dist-packages/django/core/urlresolvers.py in _get_callback, line 134 Python Executable: /usr/bin/python Python Version: 2.6.6 Python Path: ['/mnt/data/home/marekp/django_projects/bitcoin', '/usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.3c1-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/dist-packages/Jinja2-2.2.1-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/dist-packages/Spawning-0.9.3rc2-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/eventlet-0.9.9-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/greenlet-0.3.1-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/dist-packages/PasteDeploy-1.3.3-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/simplejson-2.1.1-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/dist-packages/Cython-0.13-py2.6-linux-i686.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/pymodules/python2.6'] Server time: Mon, 3 Jan 2011 23:26:03 +0000 There is a bigger traceback/dump though. It contains some of my cookies so I am not going to post it here. @chris: don't include the http://
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
January 04, 2011, 02:04:24 AM |
|
Just now I migrated database to new server. Tomorrow I migrate the rest of pool. It should definitely solve all stability and performance problems.
|
|
|
|
Raulo
|
|
January 04, 2011, 08:11:42 AM |
|
I like the new statistics page. Is there a way to download "your reward" history older than the entries displayed on the stats page?
|
1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
January 04, 2011, 08:14:24 AM |
|
I like the new statistics page. Is there a way to download "your reward" history older than the entries displayed on the stats page?
http://mining.bitcoin.cz/stats/?history=100 . Stats will be also improved when new features (from profile) will be enabled.
|
|
|
|
Akilae
Newbie
Offline
Activity: 7
Merit: 0
|
|
January 04, 2011, 07:02:20 PM |
|
Hi, I'm fairly new to Bitcoin and very new to operating in the command line. I've been trying to find directions on how to set up the RPC to get to Slush's pool, using a GPU miner but I can't seem to find it nor figure it out. I have m0mchil's GPU miner working without a hitch using the local server instructions found at: http://www.newslobster.com/random/how-to-get-started-using-your-gpu-to-mine-for-bitcoins-on-windowsBut no real idea how to modify that setup to get it to talk to Slush's pool. Any help would be appreciated!
|
|
|
|
BitterTea
|
|
January 04, 2011, 07:48:41 PM |
|
Took me a while to figure out too. First, set up an RPC user/pass in your bitcoin.conf:
# You must set rpcuser and rpcpassword to secure the JSON-RPC api rpcuser=Someusername rpcpassword=Somepassword
Then start bitcoind.exe or bitcoin.exe -server
I think poclbm.exe has a command line argument of --help which displays all other arguments.
From the top my head, you should start it with parameters something along these lines...
poclbm.exe --host=mining.bitcoin.cz --port=8332 --user=Someusername --pass=Somepassword
Welcome to the pool!
|
|
|
|
Akilae
Newbie
Offline
Activity: 7
Merit: 0
|
|
January 04, 2011, 08:29:14 PM |
|
Thanks BitterTea! It's reporting that it's hashing with nearly the exact setup you gave there. So hopefully that means its working! Reading about some json patch got me confused- is that patch essential for being in slush's pool?
|
|
|
|
nanotube
|
|
January 04, 2011, 08:41:12 PM |
|
Took me a while to figure out too. First, set up an RPC user/pass in your bitcoin.conf:
# You must set rpcuser and rpcpassword to secure the JSON-RPC api rpcuser=Someusername rpcpassword=Somepassword
Then start bitcoind.exe or bitcoin.exe -server
I think poclbm.exe has a command line argument of --help which displays all other arguments.
From the top my head, you should start it with parameters something along these lines...
poclbm.exe --host=mining.bitcoin.cz --port=8332 --user=Someusername --pass=Somepassword
Welcome to the pool!
afaik, you don't need to have the regular bitcoin client running in order to use the pool, since the pool acts as your bitcoind instance.
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
January 04, 2011, 09:46:22 PM |
|
Took me a while to figure out too. First, set up an RPC user/pass in your bitcoin.conf: Then start bitcoind.exe or bitcoin.exe -server
There's no need to touch bitcoin.conf or start bitcoind for pool; All miners are talking directly to pool server. Everything you need is miner (jgarzik's, m0mchil's or Diablo-D3's, worker account on pool and correct command line arguments.
|
|
|
|
BitterTea
|
|
January 04, 2011, 09:54:07 PM |
|
Ah, I was not aware of that. I thought bitcoin had to be running in server mode in order for the m0mchil's client to function. Also, I notice now that I indicated the wrong username and password in the command line for the client. That should be that of your pool worker account.
|
|
|
|
Sawzall
|
|
January 04, 2011, 10:02:38 PM |
|
Thanks BitterTea! It's reporting that it's hashing with nearly the exact setup you gave there. So hopefully that means its working! Reading about some json patch got me confused- is that patch essential for being in slush's pool? The patch for the Bitcoin client used to add JSON-RPC capability. That capability has now been built into the client, so the patch is not needed. However, the client is not involved in using the pool, as stated above.
|
|
|
|
Akilae
Newbie
Offline
Activity: 7
Merit: 0
|
|
January 05, 2011, 03:03:45 AM |
|
Well it's a few hours later and I got a small trickle of BTC coming in according to my profile on Slush's site, so I must've set something up right. Thanks for the help. Next task: get a cpu miner to work and RPC it to Slush's pool. The size of the pool is astounding... Even running a GPU client, I'm getting just ever so slightly over the per-user average (global shares / users). Food for thought: It would be interesting to see what other kinds of cool things that gp-gpu's can do. I've read the wiki page on distributed computing, but most of those seem small potatoes. Currently the fastest single supercomputer, Tianhe-1A, uses 7168 nvidia Tesla's to produce 4.7 peta-flops. Right now we're less than 2 orders of magnitude off from that, I'd estimate, which is still some serious compute power. And that's just assuming each setup in the Slush RPC is ~similar~ to my own. [ 7128 teslas / 206 clients on slush's pool] = 34.79x, and factoring the performance difference between the "average" user's 50Mhash's and what a tesla 2050 would be a ballpark 1.5x to 3x difference and we're still talking a 52.2x to 104.4x difference between Slush's pool and the world's fastest supercomputer. Back of the napkin, of course. Damn, folks. This is some crazy stuff. I wonder what the total compute power of something popular, like folding@home, has at it's disposal.
|
|
|
|
Akilae
Newbie
Offline
Activity: 7
Merit: 0
|
|
January 05, 2011, 04:43:50 AM |
|
Sorry for the double post.
After implementing jgarzik's CPU miner and m0mchil's GPU miner, and getting them both to communicate with Slush's pool, my account page is reporting MUCH lower hash rates than what the miners themselves are reporting.
CPU, -a 4way -t 4, is getting 3M per each of 4 cores = 12M/s (reported on the site as 1M/s), and
GPU is getting usually around 53M/s (reported on the site as ~37M/s to ~40M/s).
Huh?
(Just noticed something- when m0mchil's GPU miner gets minimized in win7, my GPU usage levels off to a much lower percentage. Will leave up from now on.)
|
|
|
|
kiba
Legendary
Offline
Activity: 980
Merit: 1014
|
|
January 05, 2011, 08:34:19 AM |
|
There seem to be no password recovery mechanism.
I seem to have set myself a password that I can't remember.
|
|
|
|
|