Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Gol on February 03, 2014, 10:35:05 AM



Title: how many transactions a block can hold(max)?
Post by: Gol on February 03, 2014, 10:35:05 AM
Hello all,
how many transactions a block can hold(max)?

Cheers!
Gol.


Title: Re: how many transactions a block can hold(max)?
Post by: maaku on February 03, 2014, 10:36:29 AM
The limitation is on block size, not the number of transactions. A block cannot exceed 1MB in size, in the serialization format used by the p2p message protocol. The size of a transaction can vary.


Title: Re: how many transactions a block can hold(max)?
Post by: Gol on February 03, 2014, 10:43:08 AM
Thanks!

so when hashing a block and the block become full all waiting transactions are...where? 


Gol.


Title: Re: how many transactions a block can hold(max)?
Post by: maaku on February 03, 2014, 10:45:30 AM
In a data structure in memory (the mempool), where they are kept for the next block.


Title: Re: how many transactions a block can hold(max)?
Post by: Gol on February 03, 2014, 10:51:27 AM
thank you!


Title: Re: how many transactions a block can hold(max)?
Post by: Peter Todd on February 03, 2014, 10:00:11 PM
You might find this interesting: https://en.bitcoin.it/wiki/Maximum_transaction_rate

Though remember that you can make even shorter insecure transactions by using empty scriptSig/scriptPubKeys.


Title: Re: how many transactions a block can hold(max)?
Post by: Hyena on February 04, 2014, 08:28:54 PM
Bitcoin-QT doesn't ask me to add tx fee for some transactions. However, it's been 6 8 hours and I'm still having 0 confirmations. Why is this? Is Bitcoin network overloaded?


Title: Re: how many transactions a block can hold(max)?
Post by: Automatic on February 04, 2014, 10:58:30 PM
Bitcoin-QT doesn't ask me to add tx fee for some transactions. However, it's been 6 8 hours and I'm still having 0 confirmations. Why is this? Is Bitcoin network overloaded?

You may want to post your transaction hash.


Title: Re: how many transactions a block can hold(max)?
Post by: jdbtracker on February 05, 2014, 12:59:27 AM
I think that it would be at about 5,000 transactions per block maximum, if all transactions stayed at only 200 bytes, we can go smaller but it'll take compression.


Title: Re: how many transactions a block can hold(max)?
Post by: Hyena on February 05, 2014, 10:44:45 AM
Bitcoin-QT doesn't ask me to add tx fee for some transactions. However, it's been 6 8 hours and I'm still having 0 confirmations. Why is this? Is Bitcoin network overloaded?

You may want to post your transaction hash.

So I woke up this morning and see that the TX is now finally confirmed. Knowing that such things can happen and leave you in a disturbing void for some time I'd feel a need for some service that would allow me see if some pool has my TX queued and what could be the possible cause for delay. My initial thought was that because the TX didn't require a fee no miner wanted to confirm it and all the blocks got full. Other thought was that maybe someone was somehow disrupting the network on purpose.


Title: Re: how many transactions a block can hold(max)?
Post by: solex on February 05, 2014, 10:52:49 AM
I think that it would be at about 5,000 transactions per block maximum, if all transactions stayed at only 200 bytes, we can go smaller but it'll take compression.

2,400 is a good working number to use for transactions (as measured by blockchain.info) in a max block
Recent example of 1,280 transactions using 687KB:

https://blockchain.info/block-index/465553/00000000000000014061615cf6f68bea2bc39c03d3d826c8fe9cf03469aeed10