Pages:
Author

Topic: Small Block - page 2. (Read 2392 times)

copper member
Activity: 1498
Merit: 1520
No I dont escrow anymore.
April 24, 2015, 01:13:17 PM
#9
Blocks are not required to have any transactions in them.

i'm curious about this aspect... but the number of transactions per block is based on what? it's random?

Keep in mind that the below is only a reflection of the default settings from bitcoin core. Miners can write their own versions with different rules.

No its not random. Firstly the mining node must be aware of transactions otherwise the block will be "empty". That is only include the coinbase TX. The transactions get sort by priority and fee. They include "blockprioritysize" (default is 50000) byte worth of transactions into the block that have a high priortiy but no (or low) fee. They further fill the block up to "blockmaxsize" (default is 750000) bytes worth of transactions. Its also possible to set "blockminsize" (default is 0) to make sure the block has at least a certain size. If not enough TX are present blockminsize will not keep you from hashing.

Its here[1] in the source and here[2] are the default values for the settings.

[1] https://github.com/bitcoin/bitcoin/blob/master/src/miner.cpp
[2] https://en.bitcoin.it/wiki/Running_Bitcoin
legendary
Activity: 3206
Merit: 1069
April 24, 2015, 09:19:15 AM
#8
Blocks are not required to have any transactions in them.

i'm curious about this aspect... but the number of transactions per block is based on what? it's random?
copper member
Activity: 1498
Merit: 1520
No I dont escrow anymore.
April 24, 2015, 09:12:36 AM
#7
Just noticed block 353454 only has 17 transactions in total, this seems very small to me.
https://blockchain.info/block/00000000000000000895f60353a27240389a8caf6a35c22d6cf3ff78bbf80fca

Can anyone give me a quick explanation as to why some blocks have 1000+ transactions and other much less.

The time between this block and the block before[1] was 9 seconds according to bc.i. They probably did not know more transactions to put into the block. Considering the number of unconfirmed transactions at that time[2], there might be other - possibly economical - reasons.

[1] https://blockchain.info/block/000000000000000004d08b90ad76d0c6d665960ded65e3c8ef8abdf3b42a41d2
[2] ~0500 https://i.imgur.com/jzRXHYq.png
Thanks shorena, i always wanted to know why some block are much larger in size than others just never asked before.
I think i remember seeing a block once with only 1 transaction, anyone have a link to that one?

You are welcome. The easiest way to find a block without many TX would be to go back to the early days. E.g. #42[1]. It still happens though, but dont know a certain block off the top of my head either.

Blocks are not required to have any transactions in them.

Isnt the coinbase TX, technically a TX? I know miners dont have to claim the whole reward, but the coinbase TX must be included.



[1] https://www.blocktrail.com/BTC/block/42
hero member
Activity: 686
Merit: 500
A pumpkin mines 27 hours a night
April 24, 2015, 07:07:50 AM
#6
Just noticed block 353454 only has 17 transactions in total, this seems very small to me.
https://blockchain.info/block/00000000000000000895f60353a27240389a8caf6a35c22d6cf3ff78bbf80fca

Can anyone give me a quick explanation as to why some blocks have 1000+ transactions and other much less.

The time between this block and the block before[1] was 9 seconds according to bc.i. They probably did not know more transactions to put into the block. Considering the number of unconfirmed transactions at that time[2], there might be other - possibly economical - reasons.

[1] https://blockchain.info/block/000000000000000004d08b90ad76d0c6d665960ded65e3c8ef8abdf3b42a41d2
[2] ~0500 https://i.imgur.com/jzRXHYq.png
Thanks shorena, i always wanted to know why some block are much larger in size than others just never asked before.
I think i remember seeing a block once with only 1 transaction, anyone have a link to that one?

I don't have an example right now, but I think there are lists if you just look for them on the Internet. There definitely are blocks with only one transaction, sometimes a miner just gets lucky and it would be stupid of him or her not to immediately publish the block, otherwise they would risk another one submitting a block before them and thus losing the block reward.
legendary
Activity: 4354
Merit: 3260
April 24, 2015, 03:42:32 AM
#5
Blocks are not required to have any transactions in them.
legendary
Activity: 1638
Merit: 1010
https://www.bitcoin.com/
April 24, 2015, 02:09:34 AM
#4
Just noticed block 353454 only has 17 transactions in total, this seems very small to me.
https://blockchain.info/block/00000000000000000895f60353a27240389a8caf6a35c22d6cf3ff78bbf80fca

Can anyone give me a quick explanation as to why some blocks have 1000+ transactions and other much less.

The time between this block and the block before[1] was 9 seconds according to bc.i. They probably did not know more transactions to put into the block. Considering the number of unconfirmed transactions at that time[2], there might be other - possibly economical - reasons.

[1] https://blockchain.info/block/000000000000000004d08b90ad76d0c6d665960ded65e3c8ef8abdf3b42a41d2
[2] ~0500 https://i.imgur.com/jzRXHYq.png
Thanks shorena, i always wanted to know why some block are much larger in size than others just never asked before.
I think i remember seeing a block once with only 1 transaction, anyone have a link to that one?
copper member
Activity: 1498
Merit: 1520
No I dont escrow anymore.
April 24, 2015, 01:51:23 AM
#3
Just noticed block 353454 only has 17 transactions in total, this seems very small to me.
https://blockchain.info/block/00000000000000000895f60353a27240389a8caf6a35c22d6cf3ff78bbf80fca

Can anyone give me a quick explanation as to why some blocks have 1000+ transactions and other much less.

The time between this block and the block before[1] was 9 seconds according to bc.i. They probably did not know more transactions to put into the block. Considering the number of unconfirmed transactions at that time[2], there might be other - possibly economical - reasons.

[1] https://blockchain.info/block/000000000000000004d08b90ad76d0c6d665960ded65e3c8ef8abdf3b42a41d2
[2] ~0500 https://i.imgur.com/jzRXHYq.png
legendary
Activity: 1316
Merit: 1004
April 24, 2015, 01:48:16 AM
#2
Because at the time the block was created, the number of made transactions varies. Sometime it is high, sometimes is low. 
legendary
Activity: 1638
Merit: 1010
https://www.bitcoin.com/
April 24, 2015, 01:41:21 AM
#1
Just noticed block 353454 only has 17 transactions in total, this seems very small to me.
https://blockchain.info/block/00000000000000000895f60353a27240389a8caf6a35c22d6cf3ff78bbf80fca

Can anyone give me a quick explanation as to why some blocks have 1000+ transactions and other much less.
Pages:
Jump to: