Bitcoin Forum
May 25, 2024, 02:46:48 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 19 20 21 22 23 24 25 26 »
181  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: November 01, 2012, 12:29:20 AM
Because of course no one uses a remote p2pool node for a failover backup. /sarcasm

Sounds like no real testing has been done to verify it will not be an issue.

I'm starting to get the feeling that you are sticking your  head in the sand and hoping that everything will just work.

It's kind of hard to test with something that you're not even sure exists... Tongue

Anyway, with sane nTime rolling and adaptive pseudoshare targets, getworks can provide more than enough work to remote hosts with very low bandwidth. Everything for nTime rolling is already there (the HTTP header), and adaptive targets are disabled temporarily, but I'll re-enable them for the next release.

How hard would it be to implement GBT for pyraminingP2Pool? Seems like that would mitigate a few issues for remote miners anyway.

While I'm asking, is the P2Pool codebase setup for the block reward halving already? (I'd imagine so, but it gets messy otherwise).

Edit: Pyramining is already setup how they want to and will probably continue in the same. GBT support for p2pool was what I meant to ask about.

I really don't see any issue with getwork. Why is GBT necessary?

P2Pool can handle reward halving.

EDIT: Getwork does have some problems with timestamp rolling. Depending on how ASIC miners handle it, it could work, but I'll start working on GBT support to allow timestamp rolling.
182  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 31, 2012, 11:47:55 PM
And anyone (everyone?) with an ASIC, having invested hundreds of dollars, will be a "serious miner" in my eyes...
Some people, such as myself, can't really afford the high bandwidth usage of running a node. That's the main reason I switched pools.

Really? P2Pool uses ~3 GB/month, normally. How much is too much for you?

With a normal pool, one getwork response/submit takes about 800 bytes of data, plus some HTTP stuff, so about 1KB for every 4 GH (2^32). At 1 GH/s, over a month, that's 650 MB (1 * (24*60*60*30) * (1000/4) / 1e6). It's probably a bit higher than that due to miners requesting more work than they need. In addition, that number scales linearly with the amount of hashing power you have, so with 3 GH/s, you're on par with P2Pool's bandwidth usage.

If I'd heard more complaints about bandwidth, I could have added an option to decrease the number of peers. Bandwidth usage is proportional to the number of peers you have, and 5 is probably enough, so you could halve the usage easily.
183  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 31, 2012, 11:32:44 PM
Any serious P2Pool user, one serious enough to have ASICs, should definitely have their own P2Pool node...
...With ASICs being 50x more efficient, the only people mining in the future, bar a very few exceptions, will all be running ASICs.

And anyone (everyone?) with an ASIC, having invested hundreds of dollars, will be a "serious miner" in my eyes...
184  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 31, 2012, 11:24:20 PM
I don't think ASICs will need any special support. P2Pool can provide getwork results fast enough for hundreds of GH/s (from a normal computer) and could be optimized for more. In addition, any timestamp rolling multiplies that.
What about mining on a remote node? It seems like ASICs could kill P2P Mining.

Any serious P2Pool user, one serious enough to have ASICs, should definitely have their own P2Pool node...
185  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 31, 2012, 10:19:46 PM
What is the plan for ASIC's? Will it require a switchover as well? If it requires a switchover, why not do it now instead of waiting until ASIC's are already out and about?

I don't think ASICs will need any special support. P2Pool can provide getwork results fast enough for hundreds of GH/s (from a normal computer) and could be optimized for more. In addition, any timestamp rolling multiplies that.
186  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 31, 2012, 03:15:41 PM
https://github.com/forrestv/p2pool/commit/38d9d89a88086abe219a270f43e940f074066cd7 :
Quote
decremented desired_version to 7 to prevent switchover for now

Does anyone have an explanation for this? Huh
Ye, I was surprised by growing v7 from thin air lol. Why we want to delay switch to v8? Forrestv found some  bad buggys?

Yes, there's a bug that Smoovius reported on the Litecoin P2Pool, which would also apply to the Bitcoin one. P2Pool's memory usage can grow without bound after a fork like this if you maintain connections to people mining on both forks. P2Pool is unable to forget about the children of the root node that connects the two forks, due to that operation simply not being implemented. (I assumed that one fork would always lose eventually, resulting in a linear chain whose last node can be forgotten about.)

Anyway, it's fixed in git, and after some more testing, I'll release v9 and the switchover will be triggered when v9 becomes popular. Restarting P2Pool after the switch would have been enough to fix this, but many people don't have something auto-restarting P2Pool if it crashes or even check up on it often.

The switchover happened on the Litecoin P2Pool about a week ago, and went flawlessly other than this issue.
187  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 30, 2012, 07:54:46 PM
What's a normal 'age' for a share submission? After a weird issue with disk corruption I moved p2pool and bitcoind off of the miner hardware to an ubuntu install. getting from 5 to 10+ second 'age' times on 'Got Share' messages, with occasional 30-40 second ages. I'm presuming this is due to the lack of horsepower on the ubuntu system in processing and verifying the share against the chain. (Hint: it's a netbook Tongue)

Maybe I should swap to a low/no fee public node, instead.

It should have a mean of approximately 10 s, and be larger than 30 s about 5% of the time.
188  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 24, 2012, 02:05:34 PM
yes i did, should i restart it again?

It looks like you didn't.. strange. Try again, and if that doesn't work, delete all the *.pyc files.
189  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 24, 2012, 05:00:55 AM
Desired Version Graph suddenly stoped working (current git head)

Did you restart P2Pool after upgrading?
190  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 24, 2012, 02:59:46 AM
just says testing bitcoind rpc connection to 'http://127.0.0.1:9332 with username X

then

error while checking bitcoin connection

my litecoin is running on server 10332 because i am also running a p2pool connection for bitcoin on the 9332 and 9333 ports can i force the p2pool to look on an alternate port?

Maybe try starting run_p2pool.exe from the command-line? It sounds like p2pool isn't receiving the "--net litecoin" argument at all...

same response now still launches looking for a connection on port 9332 9333 can i force it to look on a different port?

Yes, there's the --bitcoind-rpc-port and --bitcoind-p2p-port arguments. Try running "run_p2pool.exe --help".
191  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 24, 2012, 02:49:01 AM
just says testing bitcoind rpc connection to 'http://127.0.0.1:9332 with username X

then

error while checking bitcoin connection

my litecoin is running on server 10332 because i am also running a p2pool connection for bitcoin on the 9332 and 9333 ports can i force the p2pool to look on an alternate port?

Maybe try starting run_p2pool.exe from the command-line? It sounds like p2pool isn't receiving the "--net litecoin" argument at all...
192  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 24, 2012, 02:37:54 AM
i am having problems compiling for use with litecoin i keep receiving the following error any help???

C:\p2pool\litecoin_scrypt>C:\Python27\python.exe setup.py build --compile=mingw3
2 install
running build
running build_ext
building 'ltc_scrypt' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
gcc -mno-cygwin -mdll -O -Wall -I. -IC:\Python27\include -IC:\Python27\PC -c scr
yptmodule.c -o build\temp.win32-2.7\Release\scryptmodule.o
error: command 'gcc' failed: No such file or directory

Windows 7 64bit all the recommended packages were installed

You do know about the Windows binaries, right? If you don't want to use them, you can unzip the Windows binary to extract ltc_scrypt.pyd and use it.

If you're set on compiling that library yourself, you need to install MinGW.

I tried the binaries i just figured i was doing something wrong when the p2pool exe would not run in litecoin mode. I added run_p2pool.exe" --net litecoin user password to my shortcut but the file still insists on looking for the bitcoin rpc server not the litecoin.

Some messages on the console still mention "bitcoind" even if it's trying to connect to litecoind. Maybe pastebin the output?
193  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 24, 2012, 02:30:36 AM
i am having problems compiling for use with litecoin i keep receiving the following error any help???

C:\p2pool\litecoin_scrypt>C:\Python27\python.exe setup.py build --compile=mingw3
2 install
running build
running build_ext
building 'ltc_scrypt' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
gcc -mno-cygwin -mdll -O -Wall -I. -IC:\Python27\include -IC:\Python27\PC -c scr
yptmodule.c -o build\temp.win32-2.7\Release\scryptmodule.o
error: command 'gcc' failed: No such file or directory

Windows 7 64bit all the recommended packages were installed

You do know about the Windows binaries, right? If you don't want to use them, you can unzip the Windows binary to extract ltc_scrypt.pyd and use it.

If you're set on compiling that library yourself, you need to install MinGW.
194  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 22, 2012, 07:51:51 PM
I just saw this message "transaction rescued from peer latency cache". Can someone explain what it means? Is it some new function in v8?

Yes, that message is a result of a new feature in v8:

* Transaction preforwarding Transactions that you're mining are sent to peers before you get a share, so any block solution you find can be broadcast virtually instantaneously. This could theoretically get our invalid block rate below any other pool's thanks to our large network of nodes.

P2Pool nodes indicate to their peers which transactions they have in memory so that peers don't need to send the full transaction when, for example, they produce a share containing that transaction. This is to reduce latency below what would result from using something like Bitcoin's "inv"/"getdata" messages, where sending a peer a transaction it doesn't yet know about takes three round-trips instead of one.

"Transaction rescued from peer latency cache" means that your node had a transaction in its memory, determined that it was no longer necessary to retain it, and forgot about it. Meanwhile, a peer is trying to forward the transaction to you and sees that you already have it, so it sends only the transaction hash instead of the full transaction. Were it not for the first node buffering the transaction for a few seconds before truly forgetting about it, sending the transaction hash instead of the full transaction would result in the first node not knowing about the transaction.
195  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 22, 2012, 05:37:17 AM
Also, my miner is also getting a rather high reject rate.  I haven't changed my miner settings at all and I'm running the latest bitcoind and p2pool.  My reject used to be <3% and now its ~6%

There are some possible optimizations for the new transaction handling, which could be causing this by introducing some new latency. I'll look into it over the next few days.
196  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 20, 2012, 07:12:06 PM
Possible bug?
Log is spammed when I enter to static/graphs.html?Day page:

Yeah, it's a bug. EDIT: The fix is in the git repo. (:
197  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 20, 2012, 03:09:54 PM
I have a problem with latest git version (8.2-4-g677ea87): 100% orphan rate.
Code:
2012-10-20 10:43:11.039275 P2Pool: 17344 shares in chain (17349 verified/17349 total) Peers: 17 (7 incoming)
2012-10-20 10:43:11.039406  Local: 529MH/s in last 10.0 minutes Local dead on arrival: ~2.7% (0-10%) Expected time to share: 1.4 hours
2012-10-20 10:43:11.039458  Shares: 19 (19 orphan, 0 dead) Stale rate: ~100.0% (83-100%) Efficiency: ~0.0% (0-18%) Current payout: 0.0000 BTC
2012-10-20 10:43:11.039515  Pool: 304GH/s Stale rate: 6.5% Expected time to block: 8.6 hours
Restarting p2pool don't help. Is there any way to fix that?

I'm using cgminer 2.8.3 with Radeon HD7970.

Can you zip up and send me your log file? (It's at data/bitcoin/log) I think you were on a fork for some reason, since at that time, my node was saying "Pool: 349GH/s". I suspect that your bitcoind is messed up somehow. What does getinfo show?
198  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 18, 2012, 09:50:08 PM
I'm showing pool stale rate at 18%.  Aside from making my 4% very very efficient, is this normal for a hard branch?

I'm showing 8 at 20% right now.

Nothing has actually happened yet. The switchover happens at 95% upgraded, and until then, nothing should change.

I think the jump in the pool's stale rate was someone joining with a lot of misconfigured miners (FPGAs?). Looking at http://forre.st:9332/static/graphs.html?Day , the good (non-stale) hashrate didn't decline.
199  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 18, 2012, 05:09:30 PM
I'm doing the same thing, that is I untar it and then do a

Code:
ln -s ./forrestv-p2pool-7aedd00 p2pool 

then I start it with a

Code:
cd p2pool
python ./run_p2pool.py

and it shows, right at the start

Code:
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
2012-10-18 09:25:08.997911 p2pool (version 7aedd00)

So it finds its version even if I start if from a link

You're not doing exactly the same thing. You're cd'ing in first. Maybe this is because getcwd() from within a symlinked directory returns the original directory name?
200  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: October 18, 2012, 05:03:24 AM
I renamed the dir back to forrestv-p2pool-7aedd00 and then, to accommodate my script which starts p2pool, made a soft link to it named p2pool.  That script contains "python ~/src/p2pool/run_p2pool.py".  There's still no version output.

[I recognize that this issue is quite trivial and will cheerfully accept lack of a reply.]

P2Pool uses the argv[0] (the path that you give to run_p2pool.py) to find its directory, so it's looking at "~/src/p2pool", and the symlink does nothing. I think it would make most sense to rename it to p2pool_8.2 and run p2pool as "python ~/src/p2pool_8.2/run_p2pool.py". (:
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!