Bitcoin Forum
November 11, 2024, 10:54:09 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Incentive to add transactions to block  (Read 768 times)
Scotchman (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 04, 2012, 04:13:37 AM
 #1

Fellow n00bs,

Does anyone know what incentive or protocol rule compels miners to add new transactions to a block they are working on?  It seems like adding new transactions is a waste of processing power.  Why not just receive a few transactions and then get to work?
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1140


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
December 04, 2012, 04:16:12 AM
 #2

The amount of extra processing power wasted is negligible: the effort required to hash a block does not increase with the size of the transaction set being included in it.  The mining is done on the root hash of the transaction set, not the transaction set itself.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
Scotchman (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 04, 2012, 04:26:12 AM
 #3

Oh, hai there!

I'm about to buy some of your physical coins as Christmas presents.

I understand that the cost of adding transactions is negligible.  Still, is there any enforcement mechanism?  Can I receive a handful of transactions and then just get to work on solving the block?

I seem to remember something in the protocol specs about checking the timestamp of the latest transaction in a solved block or something like that.  But it wasn't clear, and I can't remember where I saw it now.

Anyway, it's not hugely important, but it has been bugging me.
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1140


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
December 04, 2012, 04:33:48 AM
 #4

It's possible for someone to mine blocks and not include transactions and there is currently no enforcement preventing people doing that.  Also there is a prevailing belief that there's nothing wrong with this, as it still represents valid proof of work, so as far as I know, no one is trying to prevent it.  A miner can choose to include or not include any new valid transactions he chooses, up to any limits in place (such as limit on block size).

Generally a miner is incentivized to include transactions because it's a negligible cost and he's helping the network.  Two things I am aware of that may discourage including transactions: 1) if mining is done with stolen resources such as on a botnet, the extra traffic may increase the risk of bot nodes being found, and 2) a belief that a larger block will propagate throughout the network slower than a smaller block, and be subject to a disadvantage if two competing blocks are found at the same time.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
December 04, 2012, 04:34:24 AM
 #5

There is no enforcement mechanism.  Miners are (intentionally) free to choose which transactions to include in a block.  If a miner wanted to they could mine "empty" (containing only the reward tx) blocks.  There are numerous technical reasons why the network operates this one. 

As for what is the incentive?  Transaction fees. 
Foxpup
Legendary
*
Offline Offline

Activity: 4533
Merit: 3184


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
December 04, 2012, 04:37:55 AM
 #6

Miners aren't compelled to include transactions in a block, and blocks containing no transactions at all are perfectly valid. However, transaction fees provide an incentive for them to do so. Currently, most miners are willing to include transactions without fees under most circumstances, as most of their income comes from the block subsidy rather than transaction fees, however it is likely that transaction fees will eventually be required for all transactions, as the block subsidy is halved every four years and will eventually become a negligible portion of mining income.

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
Scotchman (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 04, 2012, 04:39:58 AM
 #7

And the truth shall set you free.  Transaction fees.  Thanks for the responses.

It seems the steady-state operation of the network is more dependent on fees than I originally realized.  But that makes perfect sense.  It also makes sense why the block reward is initially high.  Bootstrapping.  
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!