Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: nawozy on November 17, 2019, 07:43:24 PM



Title: Transaction mining
Post by: nawozy on November 17, 2019, 07:43:24 PM
Now there is a "winner takes all" game when mining new blocks. Is it possible to mine transactions instead? I mean, generating as many zero bits not in block, but in single transactions, then counting all these leading zero bits in total and have required block difficulty based on that. Then, the block reward will not be sent to just one winner, but splitted between all people mining their transactions.


Title: Re: Transaction mining
Post by: RHavar on November 17, 2019, 07:57:33 PM
Maybe take a look at p2pool, which kind of allows you to get paid for mining almost-blocks.

While of course anything is possible, I think it would be a huge mistake to try conflate mining and transactions in a proof-of-work system, as the people making transactions are not going to be in a position to contribute more than a negligible amount of hash power (better to just pay for that hash power, via fees).


Title: Re: Transaction mining
Post by: odolvlobo on November 17, 2019, 08:38:16 PM
Now there is a "winner takes all" game when mining new blocks. Is it possible to mine transactions instead? I mean, generating as many zero bits not in block, but in single transactions, then counting all these leading zero bits in total and have required block difficulty based on that. Then, the block reward will not be sent to just one winner, but splitted between all people mining their transactions.

A pool has the effect that you are looking for. The block reward is split among all of the members of the pool.

BTW, the process of counting zero bits was mentioned in the white paper, but it was never implemented that way.


Title: Re: Transaction mining
Post by: maplelake on November 17, 2019, 11:49:04 PM
Now there is a "winner takes all" game when mining new blocks. Is it possible to mine transactions instead? I mean, generating as many zero bits not in block, but in single transactions, then counting all these leading zero bits in total and have required block difficulty based on that. Then, the block reward will not be sent to just one winner, but splitted between all people mining their transactions.
what is difference between mining block and mining transactions?
Miners shares bitcoins if they are connected to mining pool.


Title: Re: Transaction mining
Post by: ranochigo on November 18, 2019, 12:06:03 AM
You do not mine transactions. You include transactions in a block and hash the block headers (which includes its merkle root) to generate a hash with the matching difficulty. It is more of a security feature to have a certain level of difficulty when mining blocks.

Mining pools have payment strategies (PPS, PPLNS) which gives the rewards when you attempt to contribute to the pool's efforts to getting a block.


Title: Re: Transaction mining
Post by: DannyHamilton on November 18, 2019, 12:48:56 AM
This feels like newbie spam merit hunting.

I'll be keeping an eye on the userID and will report this thread for removal if it turns out I'm right.


Title: Re: Transaction mining
Post by: Carlton Banks on November 18, 2019, 04:19:42 PM
This feels like newbie spam merit hunting.

I'll be keeping an eye on the userID and will report this thread for removal if it turns out I'm right.

au contraire, there are people who purport to take themselves (and similar ideas to the OP) seriously who are promoting this basic concept. I expect them (and their alts) to arrive in the thread fairly promptly.

But this newbie is most certainly not one of the alts, trying to astro-turf this approach to consensus algorithms. :) How fortunate it is though for that contingent, that the OP is expressing a simplified handful of lines bringing the topic up


Title: Re: Transaction mining
Post by: Carlton Banks on November 19, 2019, 02:30:22 PM
hey this is cool!

all we have to do to deter trolls from setting up threads with sock puppets is threaten the predictable arrival of said trolls before they turn up!


it's mighty convenient that this thread was so transparent, take note troll patrol 8)