Pages:
Author

Topic: [ANN] Stratum mining protocol - ASIC ready - page 32. (Read 146083 times)

legendary
Activity: 1386
Merit: 1097
September 19, 2012, 06:55:09 AM
#78
This is a freedom of a choice. If you don't like stratum, don't use it. I'm pretty sure you're not using any current pools, so there's no change for you - you can already use another existing solution which fits your needs.

There's no reason to think that all services on bitcoin must be decentralized. Actually decentralization was a problem in times when only my pool and maybe deepbit were available. Now with tens of pools it ends up with *almost* decentralized network, which is still very effective (or can be, after replacing getwork to any better solution).

Let free market to decide it.
legendary
Activity: 1428
Merit: 1000
September 19, 2012, 06:50:10 AM
#77
my (only) problem is that stratum does not support decentralized mining.

i just hope that new inventions support the core idea of bitcoin (which is IMHO power to the miners to reduce 51% risks)

as stratum is easier to implement from pool side and decentralized mining is not well understood by miners - i dont like that stratum will succeed.

this could have been a chance to reduce the risk from pools to bitcoin itself.
legendary
Activity: 1386
Merit: 1097
September 19, 2012, 06:45:28 AM
#76
So let's sumarize up everything:

a) We definitely need a way how to give a possibility of decentralized mining. We already have p2pool and GBT, so we can mark this as already DONE.
b) We (at least me and other pool ops and miners) want some very optimized protocol which will minimize usage of all resources to minimum. This was missing until now, but with Stratum it is DONE.

I don't understand what we're discussing here and why we're fighting each other. I'm not here to say that I want Stratum support in bitcoind. I'm not here to say that everybody HAVE TO mine on centralized pool. I just give a possibility to do centralized mining as easy as possible, replacing current non-optimized, but widely supported getwork on the pools. Why not to have such option?
legendary
Activity: 1386
Merit: 1097
September 19, 2012, 06:40:48 AM
#75
About CPU resources - as usual, Luke is mixing all stuff together. GBT is quite complex specs, so:

a) You can achieve quite similar result as stratum with GBT, which is *almost* as effective on validating shares as stratum (i don't want to dig into differences for this moment), but it is *not* decentralized.
b) You can achieve decentralization, by leave tx selection and block creation to the miners, but then validating of shares became real hell on the pool side and bandwidth usage and I'm almost sure that no major pool is going to support *this* possibility, because it's insanely difficult to validate everything properly.
legendary
Activity: 1428
Merit: 1000
September 19, 2012, 06:39:26 AM
#74
w
p2pool: i like it. but it has failed. miners are greedy - thats the reason i want a way to force them to do the right thing.

I see this is major difference between us. I'm not here to force people to do right thing. If I want to do so, I can get quite nice job in my government.

we could argue long if thats the right thing Wink

other way around: why is code in bitcoind to disallow double-spends? because its the right thing to do.

as i see it the same goes for "who builds the block":
a) pools build the block: huge (possible) risk that they do some nasty stuff
b) miners build the block: risk is reduced

if its possible why dont just use the way which is better for the whole network? that way anyone will profit from it in the long run
legendary
Activity: 1386
Merit: 1097
September 19, 2012, 06:35:03 AM
#73
p2pool: i like it. but it has failed. miners are greedy - thats the reason i want a way to force them to do the right thing.

I see this is major difference between us. I'm not here to force people to do right thing. If I want to do so, I can get quite a nice job in my government.
legendary
Activity: 2576
Merit: 1186
September 19, 2012, 05:16:55 AM
#72
b) Validating custom-built PoW on pool side is *insanely* difficult, from the view of CPU resources.
b) yes its more load on the server. but how much more? maybe luke-jr should eloberate on this.
It's not been a problem, nor does it use any more CPU resources than StratumMP would to do the same thing (limiting changes to just a fixed-size extranonce does not improve the situation).
legendary
Activity: 1428
Merit: 1000
September 19, 2012, 03:53:59 AM
#71

a) I don't think it's feasible to run bitcoind on every mining machine, in mid-term and long term.
b) Validating custom-built PoW on pool side is *insanely* difficult, from the view of CPU resources.


a) atm its not a problem.
if it gets one there may be centralised bitcoind services (e.g. blockchain.info and so on) which solves that - this would be better than the current pools as it is more easy to switch your bitcoind service (as it does not affect your payouts at all)

b) yes its more load on the server. but how much more? maybe luke-jr should eloberate on this.

p2pool: i like it. but it has failed. miners are greedy - thats the reason i want a way to force them to do the right thing.
btw. i could just use getblocktemplate with eligius since a few month now...and archieve the same as i would use p2pool (except for the different reward scheme).
legendary
Activity: 1386
Merit: 1097
September 19, 2012, 03:44:58 AM
#70
and btw he does not have to do any hacking. afaik he needs his own bitcoind with (preferably) a good network connection - thats the only drawback i see for small miners.

a) I don't think it's feasible to run bitcoind on every mining machine, in mid-term and long term.
b) Validating custom-built PoW on pool side is *insanely* difficult, from the view of CPU resources.

I see quite probable scenario for all this: Miners who care will use P2Pool. I like P2Pool and I think it's quite nice piece of software. The rest will ends up with super-scaling protocol on tens or hundreds pools around the world. Stratum is supposed to be really optimal for such situation and as far as I can tell, it's working nicely.
legendary
Activity: 1428
Merit: 1000
September 19, 2012, 03:34:38 AM
#69
the biggest argument is: getblocktemplate gets the power of mining back in the hands of the miners.

I agree with you, except that 99% of real miners don't care. Switching over trusted pool is more optimized way for achieving diversity. Blockchain is public, so finding out malicious intent is as easy as inspect pool's blocks, so people who care can do this instead of overloading pools with more verbose protocols. I mean - hacking miners to report malicious behaviour and rejecting strange transactions is just for uber-geeks. The rest will just use miners in default configuration. With GBT, this makes major overhead for all participants - pool ops (handling higher loads on the pool), developers (supporting all features by the pools is more difficult) and miners (there's significantly higher network traffic all time).

Quote
with your proposal its still the pools who could(!!!) do malicious things. in times of gpumax i know that i have to prefer getblocktemplate to guarantee a (long-term) healty network

Yes, they could. And still tons of people trust gpumax with their hashpower. It's a nice example how people don't care. Don't be naive that GBT mining over gpumax will improve *anything*.

hi, thanks for your good answer,
but i can't agree with you.

when the miners dont care about network health i think the devs should come up with a solution which forces the miners to take care.

i know that your protocol is superior in terms of size.

but getblocktemplate could solve the 51% problem - imagine that every miner-software ONLY supports this protocol. how could a miner say "i dont care?" - he is just forced to do the right thing.

and btw he does not have to do any hacking. afaik he needs his own bitcoind with (preferably) a good network connection - thats the only drawback i see for small miners.
legendary
Activity: 1386
Merit: 1097
September 19, 2012, 03:20:35 AM
#68
the biggest argument is: getblocktemplate gets the power of mining back in the hands of the miners.

I agree with you, except that 99% of real miners don't care. Switching over trusted pool is more optimized way for achieving diversity. Blockchain is public, so finding out malicious intent is as easy as inspect pool's blocks, so people who care can do this instead of overloading pools with more verbose protocols. I mean - hacking miners to report malicious behaviour and rejecting strange transactions is just for uber-geeks. The rest will just use miners in default configuration. With GBT, this makes major overhead for all participants - pool ops (handling higher loads on the pool), developers (supporting all features by the pools is more difficult) and miners (there's significantly higher network traffic all time).

Quote
with your proposal its still the pools who could(!!!) do malicious things. in times of gpumax i know that i have to prefer getblocktemplate to guarantee a (long-term) healty network

Yes, they could. And still tons of people trust gpumax with their hashpower. It's a nice example how people don't care. Don't be naive that GBT mining over gpumax will improve *anything*.
legendary
Activity: 1386
Merit: 1097
September 19, 2012, 03:15:47 AM
#67
Or, even better, using something like SSL (with compression) to avoid possible man-in-the-middle attack on the Stratum connection?

Supporting SSL (without a compression) is a matter of enabling it in my pool config, so maybe, one time. I didn't test SSL overhead under heavy load yet, so I'll need to spend some time on it before provide SSL transport to wide audience.
legendary
Activity: 1386
Merit: 1097
September 19, 2012, 03:13:43 AM
#66
Any chance of doing zlib-compressed JSON on the wire, rather than uncompressed text?

I'm not thinking about this currently. I see 10kB/minute (at max!) as such small amount of data that it doesn't need any other optimization at this stage. Compressing one packet data to fit half of the packet don't make a sense to me.
legendary
Activity: 1428
Merit: 1000
September 19, 2012, 02:38:37 AM
#65
Yesterday I had a speech about Stratum on London conference. I think that it has been accepted by audience nicely. I was pretty surprised that nobody asked me for the difference between Stratum and getblocktemplate; I had many arguments in my sleeves :-).

Unfortunately I forgot to say many things which originally prepared for the presentation :-), especially the benefits for miners. It has been my first public talk, so hopefully I'll improve my skills for next time.

the biggest argument is: getblocktemplate gets the power of mining back in the hands of the miners.

with your proposal its still the pools who could(!!!) do malicious things.

in times of gpumax i know that i have to prefer getblocktemplate to guarantee a (long-term) healty network
hero member
Activity: 531
Merit: 505
September 18, 2012, 10:47:30 PM
#64
Any chance of doing zlib-compressed JSON on the wire, rather than uncompressed text?


Or, even better, using something like SSL (with compression) to avoid possible man-in-the-middle attack on the Stratum connection?
legendary
Activity: 1596
Merit: 1100
September 18, 2012, 10:04:27 PM
#63
Any chance of doing zlib-compressed JSON on the wire, rather than uncompressed text?
legendary
Activity: 1750
Merit: 1007
September 18, 2012, 12:21:52 PM
#62
I've run some poclbm testing with BTC Guild and fixed a few errors in how the pool was responding (poclbm wasn't liking BTC Guild).

Everything seems to be working fine now, but I could only run limited testing since my only GPU machine is a Windows box with a 6970.  That thing turns into an electric heater very quickly and my feet are right next to the exhaust.
hero member
Activity: 686
Merit: 564
September 18, 2012, 11:59:22 AM
#61
There's new official release of poclbm with native Stratum support. Can anybody try it on Stratum-powered pools and confirm that it's stable? Unfortunately I don't have any GPU around Sad.
Gah! I was using a patched version of poclbm with my toy FPGA miner, but it's down right now due to me not having the right software installed to reload the bitstream onto it. Sorry.
legendary
Activity: 1386
Merit: 1097
September 18, 2012, 11:34:25 AM
#60
There's new official release of poclbm with native Stratum support. Can anybody try it on Stratum-powered pools and confirm that it's stable? Unfortunately I don't have any GPU around Sad.
hero member
Activity: 497
Merit: 500
September 18, 2012, 06:28:29 AM
#59
Thanks luke-jr for you input. I encourage my pool operator to do what works and what I can see is better, at this time that is STRATUM!

Slush I was wondering because I run Bamt. Which is now BFGminer and Pheonix. All good though I will figure a way. Like you said I can keep running the proxy (which seems to be working fine). Either that or give in to peer pressure and run CGMiner.  Once again thank you for all the work Slush and Eleuthria.
Pages:
Jump to: