Bitcoin Forum
November 01, 2024, 04:56:11 AM *
News: Bitcoin Pumpkin Carving Contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 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 »
181  Bitcoin / Bitcoin Technical Support / Re: Does loading "testnet" overwrite my "regular" bitcoin wallet.dat file? on: June 27, 2011, 10:34:51 PM
Found it!

Testnet folder is located inside the .bitcoin folder (and is not hidden).
182  Bitcoin / Mining support / Re: Solo Mining on: June 27, 2011, 07:57:23 AM
If your solo mining should you see the same "ADAF0E23 accepted" on the mining clients

I'm just seeing a hash rate ?

So did you find one?

Heh, unless he's pushing 20Ghps+ then I doubt it!
183  Bitcoin / Mining support / Re: High error rate on Windows no matter what on: June 27, 2011, 07:55:55 AM
Wow 40% rejection rate? Seriously?

Sounds like something turned off and you were mining stale solutions for a long period of time.

Check that your "power options" are not lowering the power on ANYTHING after ANY amount of time. Lots of new operating systems come setup with that "feature" these days. Ubuntu is one of them.

Good luck.
184  Bitcoin / Mining support / Re: Two cards, same settings, radically different hash rates? [solved] on: June 27, 2011, 07:53:10 AM
Could have been simply your mouse movement or other background display graphics perhaps that were messing with one card's mining speed.

You will get best results from dedicated miners that do nothing but boot up and mine.
185  Bitcoin / Mining support / Re: Step-By-Step guide on how setup a GPU miner w/ mining pool? Mac OS X on: June 27, 2011, 07:51:44 AM
Hello,

I just bought a brand new 27" iMac with a killer graphics card.  I want to know how to set it up so that I can use the GPU to mine in a pool.  I may need to be spoon fed but I really want to put my new machine to work.  I am not a computer whiz by any means so go easy on me, but I do know a lot.

Thanks in advance.

You best bet would probably be to simply load up linuxcoin onto a usb drive and boot from that.
186  Bitcoin / Pools / What Kinds Of DDoS Attacks Are Pools Most Vulnerable To? on: June 27, 2011, 07:49:40 AM
What kinds of attacks have you pool operators been noticing and what was your best bet to mitigate it?

On a side note, the attacks seem to be less frequent and more targeted towards the largest mining pools recently... perhaps they are somewhat benevolent in nature and only trying to "even out" the playing field?
187  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support on: June 27, 2011, 07:31:12 AM
So in other words... pushpool isn't capable of testing through testnet until the difficulty is at least 256, is that correct?

Or in other words... pushpool works flawlessly, just not with testnet?

pushpool makes you work harder for your testnet coins Smiley

Patches to implement a full and correct target check are welcome.



I multiplied the number of solved blocks by 256 and roughly came up with the same number of shares found in my pool.

This would be proof that you are telling the truth there, is it not?

So just to get thing's straight... pushpool requires a minimum difficulty of 256 in order to function properly. Is that statement correct?

No need to patch the problem... I am throwing all my mining might at the testnet network in order to bump it over 256 just to make sure Wink
188  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support on: June 27, 2011, 07:28:44 AM
Can anybody give me a rundown of how exactly an optimal mining pool web front end would work with the mysql databases and information that pushpoolcreates?

For starters... how can I translate a "solution" (that looks like this 00000001823e485a4f458cfad7aa684392fdb0ddeb678...) into the current blockchain's block number we are trying to solve?

Do I have to check to see what is the latest (non-stale) solution that was submit to the pool is and at the same time check ./bitcoind getblockcount simultaneously to correlate a block number or..?

How is this page possible: http://btcmine.com/stats/
189  Bitcoin / Bitcoin Technical Support / Re: A Couple of Questions on Wallet Hackers on: June 27, 2011, 05:43:56 AM
The malware always infects a few people first before Malwarebytes or a similar company can come up with a "definition" of said malware to search for and exterminate from their machines.

It's not the wallet file that's being "hacked into", it's your computer.

Soon enough there will be much greater security built into Bitcoin. Remember we are still only on version 0.23 beta here!

Whenever I have been "hacked" it is usually from visiting some shady website that has installed a drive by downloading type of program and I have failed to update my browsing software (and am running windows).

Just recently I had purchased a brand new laptop... had some friends over to watch a streaming sports event (shady websites) and had the computer completely infected with a virus and un-operable on the internet within about 3 hours of using it!

I just installed ubuntu and forgot about the whole thing.
190  Bitcoin / Bitcoin Technical Support / Re: Does loading "testnet" overwrite my "regular" bitcoin wallet.dat file? on: June 27, 2011, 05:36:07 AM
Or are both blockchains kept in the same file, I wonder?

I have run both blockchains from an ubuntu install and only see a single wallet.dat file in my /.bitcoin folder.
The testnet data is in a subdirectory, cleverly disguised under the name "testnet". Wink

Interesting!

Sooo, if my "hidden" bitcoin folder on ubuntu is found in /home/ubuntu/.bitcoin/

Then my testnet folder would be found where exactly?
191  Bitcoin / Bitcoin Technical Support / Re: Error message when closing Bitcoin on: June 27, 2011, 12:07:24 AM
I have noticed similar errors before.

It could have been caused by shutting down the machine wile it was still updating the blockchain or updating any number of other files I believe.

You could try removing all of your blkindex.dat files and re-downloading the block chain. Couldn't hurt.

Yes, I had to shutdown (somewhat) disgracefully yesterday because I assigned too little ram for my virtualbox guest and it halted. On another bitcoin client that I'm not running on this virtualbox client, I'm not getting this error message, so I presume you're right. Thanks!

Yes the dreaded hard-shut-down seems to wreak havoc on Bitcoin for whichever reason I am not sure.

Good luck!
192  Bitcoin / Bitcoin Technical Support / Does loading "testnet" overwrite my "regular" bitcoin wallet.dat file? on: June 26, 2011, 11:43:28 PM
Or are both blockchains kept in the same file, I wonder?

I have run both blockchains from an ubuntu install and only see a single wallet.dat file in my /.bitcoin folder.
193  Bitcoin / Bitcoin Technical Support / Re: Connections Dropping To 0 On Bitcoin Client Running 24/7 For Mining... on: June 26, 2011, 11:27:35 PM
I think it was my hard drives being "put to sleep" after about 10 minutes or so.

I would come back to check on the miner and it would be dead because of the 0 connections on bitcoin.

Not behind a router, and I can easily see 50+ connections upon starting up.

I have changed the setting that put the hard drives to sleep. Hopefully that will stop it?!

Have you got it sort it out ? because I have the same problem and I have tried the fallback nodes but yet it just falls back to 0 in few moments after starting .. and leaving it online for 24 hours does not solve the problem.



I did figure out the problem yes and I posted the answer in my Original Post.

It seems that ubuntu sets hard drives to "spin down whenever possible" or something like that in the power settings... simply removing that "feature" made my Bitcoin client "work" again Smiley
194  Bitcoin / Bitcoin Technical Support / Re: Error message when closing Bitcoin on: June 26, 2011, 11:15:01 PM
I have noticed similar errors before.

It could have been caused by shutting down the machine wile it was still updating the blockchain or updating any number of other files I believe.

You could try removing all of your blkindex.dat files and re-downloading the block chain. Couldn't hurt.
195  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support on: June 26, 2011, 11:11:22 PM
Quote
pushpoold requires 40 bits of zeroes before submitting upstream, not 32.
jgarzik: Oh, thank you! This has finally cleared up the mystery for me and gigabytecoin  Grin What strange little bit of behavior from pushpool.

I have confirmed this. Here's the relevant code (msg.c):

Code:
static int check_hash(const char *remote_host, const char *auth_user,
      const char *data_str, const char **reason_out)
{
...
if (hash32[7] != 0) {
*reason_out = "H-not-zero";
return 0; /* work is invalid */
}
if (hash[27] == 0)
better_hash = true;
...
return better_hash ? 2 : 1; /* work is valid */

So check_hash will return 2 only if the submitted share has a hash with 40 0 bits, as jgarzik pointed out. Now let's see what effect that has:

Code:
static bool submit_work(const char *remote_host, const char *auth_user,
CURL *curl, const char *hexstr, bool *json_result)
{
...
/* validate submitted work */
check_rc = check_hash(remote_host, auth_user, hexstr, &reason);
...
/* if hash is sufficient for share, but not target,
* don't bother submitting to bitcoind
*/
if (srv.easy_target && check_rc == 1) {
*json_result = true;
sharelog(remote_host, auth_user, "Y", NULL, NULL, hexstr);
return true;
}

So if the hash had less than 40 bits of 0s, then it doesn't even try to submit it to bitcoind. I think that corresponds to a difficulty of 256?

I would consider this a bug. pushpoold should already know the target difficulty, so why can't it do a correct check? Also, doing a proper check would reduce the network activity between pushpoold and bitcoind slightly (it would submit less false Proof of Works to bitcoind).

So in other words... pushpool isn't capable of testing through testnet until the difficulty is at least 256, is that correct?

Or in other words... pushpool works flawlessly, just not with testnet?

Thank god, now I can start coding on the "front end" stuff!
196  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support on: June 26, 2011, 10:56:56 PM
Are you sure it is not dying right away after it comes up?  I had a lot of initial issues getting pushpoold to even start up and stay started.  Most of the time is was a database issue when pp tried to connect to mysql it was failing and causing pp to stop right away make sure pushpool is started and you should be able to telnet to ur port 8344

Okay I'm trying to figure out what could be stopping pushpool from running. I double checked the database name, username to database, and associated password by logging into mysql via the terminal and then doing a SELECT * FROM pool_worker to see if I could get that far.

I did have one suspicion about the port that is used to connect to the database. Is that port a default port if so how could I change it in mysql if I need to?

Is the method I used of finding the process ID associated with pushpoold a valid way of checking to see if pushpoold is running?

thanks for your help.

What version of pushpool are you trying to run? v0.5 or v0.4.1 Huh

If you are using v0.5 try v0.4.1 ...

To check to see if pushpool is running, simply type ps aux | grep pushpool and you should notice at least two references to pushpool. (One for the search command you just submit, and one for the running pushpoo program).

Also try running pushpool by typing ./pushpool -E

I can't seem to get ./pushpool running by simply running /pushpool but if I add the -E then it seems to work great.
197  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support on: June 26, 2011, 09:46:19 PM
Quote
pushpoold requires 40 bits of zeroes before submitting upstream, not 32.
Is this the reason for fpgaminer and gigabytecoin's difference between their expected solved blocks and the actual ones they've been able to solve on testnet, as I'm having the same type of discrepancy?

I've been fearing something wrong with my setup but if I understand that quote correctly, effectively pushpoold is setting the difficulty higher than testnet's current actual difficulty? 

I too did not understand Jeff's meaning when he said that.

I have been running 1.4Ghps towards my pushpool running on testnet all night, and 700mhps running directly towards bitcoind testnet all night.

./bitcoind getinfo is now showing 7400 bitcoins generated in my wallet... but apparantly the "shares" MySQL Database only has about 60 "Y" upstream_results in it...

So running 1.4GHps through the pool only found about 60 blocks on testnet... where as running 700mhps through bitcoind directly netted at least 88 blocks and I assume another 120 or so are on their way down the line in forms of a confirmation.

What could be going wrong???

One thing I did notice... when I was mining against pushpoold directly... I seemed to find a block almost immediately and then nothing for a few hours... until I start (simultaneously) mining through bitcoind and then the blocks started to pour in through pushpool. It's as though mining through bitcoind somewhat "helps things along"..?
198  Bitcoin / Bitcoin Technical Support / Re: bitcoind getdifficulty on: June 26, 2011, 09:26:58 AM
it still shows 876954.49351354 for me. is there a problem with my client? using 0.3.23.

edit: just now showed the new difficulty. sorry for this topic.

No need to be sorry!

The answer was that you most likely had not downloaded the entire blockchain yet. Thus you only saw the difficulty from the previous difficulty since you were probably ~2050+ blocks short.

I noticed the same thing recently when I ran testnet and saw the difficulty continually rise from 8 to 45 when loading the testnet blockchain.
199  Bitcoin / Bitcoin Technical Support / Re: Need help with my signature.. on: June 26, 2011, 09:17:59 AM
Try this. 

<a href="http://freebitcoins.webs.com/" title="Free Bitcoins" ><img src="http://i56.tinypic.com/hss6y9.png" ></a>

This...

did you seriously try to input two html attributes into each other or ..? ;P
200  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support on: June 26, 2011, 04:28:14 AM
Yes the block chain has been downloaded. Yes it is running. I've run killall -v bitcoind and it kills the process.

How do I open 8341 port up?

Below is all of my code and commands that I run but I can't seem to understand how to connect my phoenix miner to my server that is running pushpoold. The output that I get from my phoenix miner is Problems connecting to RPC. Am I supposed to connect with the port that is in bitcoin.conf (that wouldn't make sense in setting up a pool though).

Server.json
Code:
{
   # network ports
   "listen" : [
      # binary protocol (default), port 8342
      { "port" : 8342 },

      # HTTP JSON-RPC protocol, port 8341
      { "port" : 8341, "protocol" : "http-json" },

      # HTTP JSON-RPC protocol, port 8344,
      #proxy is most likely your external ip address if your running a public pool | Public pools WON'T have the following ip addresses: (10.0.0.1, 127.0.0.1, 192.168.1.100, or 192.168.254.254,etc,etc)
      # requests to us | "proxy" should be set to your ip address that people will connect through
      { "port" : 8344, "protocol" : "http-json",
        "proxy" : "192.168.1.11" },

      # binary protocol, localhost-only port 8339
      # host is most likely your localhost address
      { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
   ],

   # database settings
   "database" : {
      "engine" : "mysql",

      "host" : "localhost",

      "port" : 3306,

      #database name
      "name" : "pushpool",
      #database username
      "username" : "mysqladmin",
      #database password
      "password" : "xxxxxxxx",
      #enable sharelog | to insert share data or sometimes known as "work"
      "sharelog" : true,
      "stmt.pwdb":"SELECT password FROM pool_worker WHERE username = ?",
     
      "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"

   },

   #uncoment this when you want to use memcached (Recommended for servers over 1.5gb of ram)
   # cache settings
   "memcached" : {
      "servers" : [
         { "host" : "127.0.0.1", "port" : 11211 }
      ]
   },

   "pid" : "/home/bitcoinminer2/POOLINSTALL/pushpool-0.5/pushpoold.pid",

   # overrides local hostname detection
   "forcehost" : "localhost.localdomain",

   "log.requests" : "/home/bitcoinminer2/POOLINSTALL/pushpool-0.5/request.log",
   "log.shares" : "/home/bitcoinminer2/POOLINSTALL/pushpool-0.5/shares.log",

   # the server assumes longpolling (w/ SIGUSR1 called for each blk)
   "longpoll.disable" : false,

   # length of time to cache username/password credentials, in seconds
   "auth.cred_cache.expire" : 75,

   # RPC settings
   #Bitcoind Protocal settings
   #Host were bitcoind can be found on the network
   "rpc.url" : "http://127.0.0.1:9098/",
   #Username & password to connect to bitcoind
   "rpc.user" : "user",
   "rpc.pass" : "pass",

   # rewrite returned 'target' to difficulty-1?
   "rpc.target.rewrite" : true
}


bitcoind.conf
Code:
rpcuser=user
rpcpassword=pass
rpcport=9098
server=1
gen=0
rpcallowip=*


commands
Code:
memcached -u bitcoinminer2
./bitcoind -server -daemon
./pushpoold -E


Output
Code:
bitcoinminer2@ubuntu:~/POOLINSTALL/pushpool-0.5$
[2011-06-25 14:35:43.004276] Listening on host :: port 8342
[2011-06-25 14:35:43.004627] Listening on host :: port 8341
[2011-06-25 14:35:43.004749] Listening on host :: port 8344
[2011-06-25 14:35:43.004859] Listening on host 127.0.0.1 port 8338

Phoenix settings
Code:
start /DC:\Phoenix phoenix.exe -u http://NH2LwYuL585o6sgiikAG42sbmAhGwj8Vsd:pass@192.168.1.11:8338/;askrate=10 -k poclbm VECTORS BFI_INT AGGRESSION=11 WORKSIZE=128 DEVICE=0 FASTLOOP=false

Mysql Commands
Code:
sudo /etc/init.d/mysql start
mysql -u root -p
use pushpool

Mysql Output
Code:
mysql> SELECT * FROM pool_worker;
+----+------------------+------------------------------------+----------+
| id | associatedUserId | username                           | password |
+----+------------------+------------------------------------+----------+
|  1 |                0 | NH2LwYuL585o6sgiikAG42sbmAhGwj8Vsd | pass     |
+----+------------------+------------------------------------+----------+
1 row in set (0.01 sec)

mysql> SELECT * FROM shares;
Empty set (0.00 sec)

mysql>

Has bitcoind downloaded all of the blockchain yet? ./bitcoind getblockcount (should be around 133,297 right now)

Is bitcoind running? ps aux | grep bitcoind

Have you opened up the ports on your machine so that you can access port 8341 from the external miner?

Well where do you host your server?

Usually you need to open it in your firewall like iptables or something.

Or perhaps you need to contact your web host.

On amazon ec2 it's as simple as adding it to your security group you are working with.

Can anybody else comment on FpgaMiner's complaints earlier? Because I am noticing the same thing...

I experienced an odd problem with pushpool.

I got it setup, and accepting shares against a bitcoin --testnet client setup correctly with RPC. So, everything appeared to work. I even found a few blocks, and those submitted fine.

However, at a difficulty of 38, and >1000 shares, it had only found 2 blocks.  Huh That's either really bad luck, or something was broken.

So I tried pointing the miners at bitcoind directly, and they found 3 blocks in a few minutes (as expected for the hashrate).

I have 300Mhash/s aimed at my pushpool server and I can see that my miners are connected and working. The "shares" MySQL table is increasing steadily.

The bitcoind client is running in testnet mode.

blkmond blkmond.conf is running

I have only found 1 block (I have just 1 Y in my "upstream_result" MySQL Column for my worker) after mining for about 60 minutes at 700Mhash/s.

According to our favorite website http://www.alloscomp.com/bitcoin/calculator.php ... 700MHash/s at a difficulty level of 45 I should be finding 15,645.98 BTC per day. Or about 312 blocks of 50 BTC per day or about 13 blocks per hour. Is there something wrong with my math? Why have I only found 1 block so far?

What are "shares" anyways? Are they not simply difficulty 1 proofs? If the difficulty level is at 45 then theoretically shouldn't I find a block every 45 shares created? There are 1200 shares sitting in my MySQL DB so if that was true then I should have about 26 blocks by now, no?
Pages: « 1 2 3 4 5 6 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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!