Bitcoin Forum
May 27, 2024, 10:15:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  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 »
261  Bitcoin / Bitcoin Technical Support / wallet.dat lost and recovered, but balance flew away! on: July 21, 2011, 09:47:26 AM
I've search for this problem a bit, but I had bad luck  Sad despite of this, I'm sure it stands somewhere. So, sorry if I repeat the topic.

Yesterday I accidentally wipe off the file 'wallet.dat'. No problem: I took my backup and restored it. My backup was a bit old, so when I restarted bitcoin, the addresses stay but the balance, with all operations made after backup, blew up. The reason is, because bitcoin uses the same file, 'wallet.dat' to keep private keys, public keys and transactions.

The only solution I've found for restoring the balance was restart bitcoin in a new folder (conserving 'wallet.dat' and 'bitcoin.conf') and wait several hours for the block-data rebuild up.

So the question is: is there any more clever way to restore the balance!? The information about transactions is in the block chain, available to the program; I think the client program should have an option "rescan the blockchain" or similar for such occasions. And, even better, keep the transaction file away from priv. keys!
262  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 21, 2011, 09:08:23 AM
[...)
Also p2pool eats more and more memory. I stopped it at 600MB now. It didn't  even react to SIGINT anymore and I had to SIGKILL it.

I agree: p2pool eats too much memory:

Code:
 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM   TIME+   COMMAND
1528 shevek    20   0  526m 512m 3516 S   31 17.6 191:32.14 python

So 17,6% of mem is a bit too much.

I think it's a problem of the design. As forrestv said, the whole sharechain is kept in memory, instead of a file or a db.

Perhaps it's time to reconsider this policy and think about files. Moreover, with files in mind, it is possible reconsider also the limit of 24,000 shares of payout, too low for home miners of ~100 MH/s power.
263  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 20, 2011, 09:59:46 PM
Sometimes I've got strange errors when I launched p2pool quick after bitcoind. If this is your case, simply wait a couple of minutes.

Okay, that doesn't seem to make a difference here. P2Pool fails consistently in main.py, line 31 (getwork). I can telnet to localhost:8332 just fine. I've also setup port forwarding and firewall rules for ports 8333 and 9333 in router and local machine.


Sorry for the trivial advice but... did you set server=1 in your bitcoin.conf?
264  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 20, 2011, 09:22:25 PM
Following instructions at http://wiki.bitcoin-otc.com/wiki/P2Pool (Downloaded from Git repository), I start bitcoind (latest Linux version) and when starting p2pool, I get an error -10. What does that mean?

netstat -a shows that bitcoind is listening on ports 8332 and 8333.


Sometimes I've got strange errors when I launched p2pool quick after bitcoind. If this is your case, simply wait a couple of minutes.
265  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 20, 2011, 07:02:10 PM
(...)
* poclbm starts mining ok initially
* At some point, in the p2pool kind of goes insane and there is a long flurry of back to back messages about "generating".


poclbm had a bug past night dealing with new difficulty. Try again with fresh poclbm and fresh p2pool. BTW, forrestv said that launching the program with python -O saves a lot of output.
266  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 20, 2011, 10:21:17 AM
Where the node stores the information it harvest? The list of accepted shares and node-IPs, for example.
Particularly... where it stores the information about *own* accepted shares? This is crucial to audit future rewards.
All information is stored in the sharechain, which is held in memory by all nodes. That chain is examined by the software to display the 'Contribution: 23.92% >368 mhash/s' information. This bit of the p2pool software can be audited, as verifying that that number is correct proves that you're getting fair payouts.

Yes, but this information is very poor... not much digits. I've contributed with aprox. 50 shares and now there are ~12,600 shares on the pool. So, 50/12,600 ~ 0.3%. But I see 0,00%... may be a round error? may be not all my shares where accepted, even if the miner tells Ok?

This is a bit confusing. Perhaps other way to implement this could be:

Code:
Pool rate: 1031 mhash/s 12652 shares Contribution: 31 (0 mhash/s) Aprox. rew.: 0,12214342

So, I can see quickly if a share is counted up or silently rejected.

Quote
So, perhaps it's time to collect and write down a more detailed documentation.
I'm working on this on the wiki - http://wiki.bitcoin-otc.com/wiki/P2Pool.

Nice... thank you!

BTW, I propose more JSON options, for example

Code:
http://127.0.0.1:9332/difficulty # see the difficulty that at actual HR keeps the rate 1 share each 5 seconds
http://127.0.0.1:9332/connected # see the actual number of nodes connected by this one
...
267  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 20, 2011, 08:51:21 AM
Ok, I'm running a node and have some few questions.

  • Where the node stores the information it harvest? The list of accepted shares and node-IPs, for example.
  • Particularly... where it stores the information about *own* accepted shares? This is crucial to audit future rewards.
  • Is the pool actually in production? So... it is ready to reward for eventual solved block? Or is it only testing whether the pool-net can hand the traffic?
  • Where node reward goes? To the default address of the actual "wallet.dat" pointed by bitcoind? Or to the IP of the node?

So, perhaps it's time to collect and write down a more detailed documentation.
268  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 19, 2011, 08:44:05 PM

Also, like other pools, updating the thread subject to include last 24 hours hash performance estimate would be nice.


I think forrest don't consider it "in production" yet.
269  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 19, 2011, 08:41:37 PM
Added 310Mhash/s, running through Flexible mining proxy - all fine.

Seeing a lot of "Got duplicate share, ignoring" - is this a problem?


I guess not. When a share is found the information echoes through the net. Once your node receive the first notice, the following are rejected as duplicated.

I suppose...

What a lot of output - is there an option for less verbose?


In *nix flavors you can launch the node this way:

Code:
$ screen -d -m -S p2pool python run_p2pool.py USER PASS

and the output is silent. If you want to peek type:

Code:
$ screen -r p2pool

and then you see the output again.
270  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 19, 2011, 07:09:07 PM
Is anyone yet posting Ghash/sec stats?

HR was slowly increasing from ~300 MH/s up to a bit more than 400 MH/s in this moment, as reported by p2pool output.

I don't know how this is calculated. I've just plugged ~60 MH/s into the system and HR didn't change.... even when shares started being accepted.

BTW remote mining works! I have bitcoind and p2pool in one machine and the miner in other... all works fine!
271  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 19, 2011, 04:54:13 PM
Now we're ready to begin testing on the main Bitcoin network.

Running now the daemon, but not the miner which is located in other computer. BTW, so I'll test remote connection to the pool-net.

I don't understand the messages about "new highest hash". It is supposed that the lower the hash the better...  Huh
272  Other / Beginners & Help / Re: Whitelist Requests (Want out of here?) on: July 19, 2011, 03:54:01 PM
Bad idea posting here.  Shocked

This thread will show up in your "Show new replies to your posts" for rest of your life here, unless some admin realizes that its time to close this damn thread and start a new one.  Roll Eyes

Cheers!


Mi same ĉagreniĝas.... brr.....
273  Local / Hardware y Minería / Re: Problema tecnico! on: July 19, 2011, 02:55:10 PM
Hola, ayer, un amigo me conto esto de los bitcoins y el gpu mining, me gustaria empezar a generar bitcoins con deepbit, pero mi actual problema es que el guiminer no me detecta la tarjeta de video ( Asus EAH 5750 ) , actualize drivers intale el sdk de ati...

Olvídate de "deepbit"; minando ahí sólo contribuyes a aumentar la centralidad de la red cuando se supone que ésta tiene que ser p2p. Además, se queda con un 3% y sólo devuelve un mínimo de 0,01 (el resto, hasta 8 decimales, queda "durmiendo" en tu cuenta hasta que vuelvas a minar).

Hasta que la solución de minado p2p esté en marcha, te recomiendo cualquier otro "pool". Particularmente, "eligius" es muy fácil de usar porque no necesitas ni siquiera inscribirte.
274  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 19, 2011, 08:53:35 AM
Major update version 1.3.0:

I'll test it as soon as possible, to see if stales are really drop down.

In a nutshell, apart from bugfixes, this version now implements smart failover support of virtually unlimited pools. It selectively probes each server for what it supports and adjusts accordingly how to manage poor network conditions. If a server supports x-roll-ntime it will use local generation of work for up to 5 minutes (half a block's duration) and then if it is still unable to connect it will then switch pools. If a server does not support local generation, it will wait for up to a minute and then switch pools. Once a switch has occurred it will try to switch longpolls to the appropriate server as well.

To use multiple pools, simply pass multiple urls and credentials. eg:

./cgminer -o http://url1:port -u user1 -p pass1 -o http://url2:port -u user2 -p pass2 ...

[note: url must come before username/password now]

I think the right way to implement failover and multiserver is the one adopted by poclbm and hashkill: several servers are placed in compact format user:pass@server:port (or user:pass:server:port) without flags; the first one is meant to be the favourite and the program will test it from time to time after its shutdown.

Moreover, hashkill allows input a text file with one server per line.

P.S. Edited for cosmetic changes
275  Bitcoin / Pools / p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] on: July 19, 2011, 08:39:50 AM
About 5 second rate...

If a block is solved in an average of 10 minutes, at the rate of 5 second per share, it yields 120 shares per block. Counting 3*n -> 360 shares to be rewarded on average.

Too low for those who are pooling to avoid uncertainty  Sad
276  Bitcoin / Bitcoin Discussion / Re: Regulate maximum mining pool size on: July 19, 2011, 08:14:07 AM
Long Term solution
http://forum.bitcoin.org/index.php?topic=9137.0 , but as far as i understood that would require a lot of careful thinking and coding to reduce network overhead involved.

Nope!

Real long term solution DDoS reluctant and p2p-friendly:

http://forum.bitcoin.org/index.php?topic=18313.0
277  Other / CPU/GPU Bitcoin mining hardware / Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO on: July 18, 2011, 05:14:54 PM
In the linked method, what is really interesting to me is:
Quote
Code:
xhost +
chmod uog+rw /dev/dri/card*
I've never seen the dir /dev/dri on any of my ubuntu or debian systems: do you have it?

I didn't really plunged onto it.

I only know that this recipe allowed me to open an xterm from text terminal and ./poclbm.py reported correctly the GPU in the same text terminal.

So, I must further investigate...
278  Other / CPU/GPU Bitcoin mining hardware / Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO on: July 18, 2011, 04:32:32 PM
Really?  Not in this thread?  It's been discussed in several places in this thread and the guide even uses screen to accomplish the task of doing multiple things in the same terminal window.  Using screen via SSH is the answer to the question asked.

The method used in that linked guide is like using a hammer to drive in a screw.  It will probably work but it's not the best way to go about things.


It was a problem of permissions with X server. It seems, that Ubuntu default policy is opener than Debian's. I was not possible for me to stablish a connection to X server out of the main screen.

In the linked method, what is really interesting to me is:

Quote
Next edit /etc/gdm/Init/Default and add the following code just before the exit 0.
Code:

Code:
xhost +
chmod uog+rw /dev/dri/card*

279  Bitcoin / Pools / Re: [90 GH/s] EMC: 0 Fee/LP/API/PayPal Payout/Free SMS/US/EU/AU/Full 8 Payout/More on: July 18, 2011, 04:27:13 PM
Wouldn't that then reward luck as opposed to work?



For miners with really low hashrate (compared to the global pool one), yes. Let's say, CPU-miners.

On the other side, this fixes also the minimum worth money to pay. For N=100,000 it is 50,000 satoshi. Perhaps 10,000 is a fairer limit (N=500,000).

Only a proposal...
280  Bitcoin / Pools / Re: [90 GH/s] EMC: 0 Fee/LP/API/PayPal Payout/Free SMS/US/EU/AU/Full 8 Payout/More on: July 18, 2011, 04:03:43 PM
I've sent a message to Meni to see if he has any advice.  I can't see anything wrong at the moment, but I'm sure I've screwed something up somewhere.


Somewhere has been discussed the possibility of having a long-fixed (say, 100,000 items) list of valid shares to divide reward with. At the beginning all shares are accepted. But when the list reaches its limits, new share is accepted only if its value is better than the worst one in the list, and this last is pissed off. Actually, this means fixing acceptance target (and so, assorted difficulty) to the worst share in the list.

If some hopper leaves the pool after scoring, say, 10,000 shares, It will be possible that resting miners will continue generating shares with better values than many of these 10,000. When the block is solved and the hopper come back to get the reward, then she would be surprised if only 3,000 shares count toward her income...
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!