Bitcoin Forum
May 21, 2024, 10:12:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: What's the largest number of transactions that have been in a block so far?  (Read 2101 times)
chriswilmer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


View Profile WWW
June 05, 2013, 06:21:15 PM
 #1

I haven't figured out how to find this information. The "number of transactions per block" chart on Blockchain.info shows the daily average, which is not what I want.
chriswilmer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


View Profile WWW
June 05, 2013, 10:18:16 PM
 #2

Really, nobody knows the answer?

I found this block today that has 1200+ transactions (size ~700 KB), which is kind of what I was looking for. The max size right now is 1 MB right?

http://blockchain.info/block-index/389710/00000000000000bee901ddf3cc51943b22e0915ede7818131597c4f4cc5b3d13
threeip
Full Member
***
Offline Offline

Activity: 154
Merit: 100



View Profile WWW
June 05, 2013, 10:28:07 PM
 #3

Maybe try over at Technical Discussion?

Edit; someone on Reddit claims 2.5k per block limit

ส็็็็็็็็็็็็็็็็็็็็็็็็็ GPG:2AFD99BB ಠ_ಠ mon
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 05, 2013, 10:33:06 PM
Last edit: June 05, 2013, 11:05:59 PM by DannyHamilton
 #4

Shouldn't be too difficult to write a script that will walk through the blockchain and find the block with the largest number of transactions and/or the largest blocksize.

If you don't receive a satisfying answer tonight perhaps I'll try and write such a script.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 05, 2013, 11:37:26 PM
Last edit: June 06, 2013, 12:04:43 AM by DannyHamilton
 #5

Script written and running.

bitcoind seems to respond to a getblock request pretty slowly, so it will take a while to scan the entire blockchain, but so far after scanning backwards through the 1500 most recent blocks, the one with the most transactions has been https://blockchain.info/block-index/388153/00000000000000a8dcc7b7f534b74c0e7e43686407e687217a1d10b40f0bea32 with 1,323 transactions.  I'll post another update later when the script has made more progress.

Note: I am only scanning the current best chain.  Orphaned blocks will not be included in this analysis.

Given the fact that the smallest transactions are typically about 225 bytes in size, and the header is only 80 bytes, I'd think that the most transactions that could potentially fit in a 1,048,576 byte block would be somewhere around 4,600.  That would require some extraordinary circumstances though.
chriswilmer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


View Profile WWW
June 05, 2013, 11:55:44 PM
 #6

Script written and running.

bitcoind seems to respond to a getblock request pretty slowly, so it will take a while to scan the entire blockchain, but so far after scanning backwards through the 1500 most recent blocks, the one with the most transactions has been https://blockchain.info/block-index/388153/00000000000000a8dcc7b7f534b74c0e7e43686407e687217a1d10b40f0bea32 with 1,323 transactions.  I'll post another update later when the script has made more progress.

Note: I am only scanning the current best chain.  Orphaned blocks will not be included in this analysis.

Thanks for doing this! You should post your findings somewhere and collect donations! (I'll donate something if you do)
wachtwoord
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
June 05, 2013, 11:58:30 PM
 #7

And the fee is 4.24% of the block reward. Very cool Smiley
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 06, 2013, 12:11:09 AM
 #8

Script written and running.

bitcoind seems to respond to a getblock request pretty slowly, so it will take a while to scan the entire blockchain, but so far after scanning backwards through the 1500 most recent blocks, the one with the most transactions has been https://blockchain.info/block-index/388153/00000000000000a8dcc7b7f534b74c0e7e43686407e687217a1d10b40f0bea32 with 1,323 transactions.  I'll post another update later when the script has made more progress.

Note: I am only scanning the current best chain.  Orphaned blocks will not be included in this analysis.

Thanks for doing this! You should post your findings somewhere and collect donations! (I'll donate something if you do)

What sort of findings?  I can modify the script to look for other information if there's something you want to know.  Right now, it's just running backwards through every block and printing out the hash and number of transactions whenever it encounters a block that has more transactions than the max seen so far.

Output so far after searching back through the 18,700 most recent blocks (approximately the most recent 129 days):

Code:
hash:00000000000000b31371edd3656af35ef5ddf71aab394ffbdbe14c06a0c9d3ad , txQty:733
hash:00000000000000bee901ddf3cc51943b22e0915ede7818131597c4f4cc5b3d13 , txQty:1263
hash:00000000000000a8dcc7b7f534b74c0e7e43686407e687217a1d10b40f0bea32 , txQty:1323
hash:0000000000000052e1ab840ab54644689275b031fb493a9cbdf6af8cb8c99f1c , txQty:1333
hash:0000000000000013b9efa409b459baf11b4ccb43a60f853bdd8d25fb9b867ec3 , txQty:1399
hash:0000000000000068a1197cfe03640004ea2d0e45776b5c40d4044dc1d1599ca5 , txQty:1432
hash:00000000000000f99af4a59d3105cd411fd0adf42225f6857e6f75837c7ea97e , txQty:1495
hash:000000000000000e00d6df5ea6cbbb5ea12bc634668f18480c8e7eeb41c8af41 , txQty:1544
hash:00000000000000832b120849bb5201d10d4a698a3574bd9da2ab970c5dc1287c , txQty:1678
hash:000000000000033818fb20338be1fe1b223f7018bdad8ee4cea5f396cf5523e8 , txQty:1976

Note that at slightly less than half a megabyte and 1,976 transactions block https://blockchain.info/block-index/357198/000000000000033818fb20338be1fe1b223f7018bdad8ee4cea5f396cf5523e8 seems to be an indication that the maximum number of transactions that a one megabyte block could potentially contain is likely to be more than 3,952.  I'd actually guesstimate the number to be somewhere around 4,600.

This would seem to indicate that the reddit post from the OP that describes a "the 360,000 limit" per day should probably be more like 662,400 per day.
Cubic Earth
Legendary
*
Offline Offline

Activity: 1176
Merit: 1018



View Profile
June 06, 2013, 12:15:15 AM
 #9

Well I'll just tack this question on here:  Anyone know what block has the smallest hash, or how small that hash was?
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 06, 2013, 12:19:28 AM
 #10

Well I'll just tack this question on here:  Anyone know what block has the smallest hash, or how small that hash was?

Hmm, that script would probably run much faster.  Maybe I'll try and create/run it simultaneously.  If I do, I'll be back with an update in a half hour or so.
chriswilmer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


View Profile WWW
June 06, 2013, 12:27:28 AM
 #11

Well I'll just tack this question on here:  Anyone know what block has the smallest hash, or how small that hash was?

Hmm, that script would probably run much faster.  Maybe I'll try and create/run it simultaneously.  If I do, I'll be back with an update in a half hour or so.

What address do you want us to tip you at? Smiley
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 06, 2013, 12:42:51 AM
 #12

Well I'll just tack this question on here:  Anyone know what block has the smallest hash, or how small that hash was?
Hmm, that script would probably run much faster.  Maybe I'll try and create/run it simultaneously.  If I do, I'll be back with an update in a half hour or so.
What address do you want us to tip you at? Smiley
As recommended by Mr. Nakamoto, I generally prefer to use a new address for every transaction.  If anyone is serious about offering a gratuity, contact me via PM, and I'll send you a unique address for the purpose to be used only once.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 06, 2013, 12:45:22 AM
Last edit: June 06, 2013, 02:17:08 AM by DannyHamilton
 #13

I suspect we've found the block with the largest number of transactions.  The search has now run through the most recent 2 years and it hasn't yet found any blocks with more transactions than 1,976.  I'll leave it running just in case, but I suspect that as we work our way backwards through time, we'll reach times when bitcoin was slightly less popular and therefore the total number of transactions will begin to drop.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 06, 2013, 01:08:42 AM
 #14

Well I'll just tack this question on here:  Anyone know what block has the smallest hash, or how small that hash was?

Having searched back though the most recent 90 days, the block with the smallest hash so far was:

https://blockchain.info/block-index/389012/000000000000000006582fa9652895fda92c757ae6beee9dfbc3932125b5ab8e

And the value of the hash was:

0x000000000000000006582fa9652895fda92c757ae6beee9dfbc3932125b5ab8e

or in decimal:

155,566,129,756,877,957,177,939,281,690,389,061,013,955,286,756,511,558,542
(1.5556613x1056)

I'll post an update if I encounter a smaller hash, but since difficulty is reduced as we get further into the past, I suspect that most blocks will have a larger hash value.
Cubic Earth
Legendary
*
Offline Offline

Activity: 1176
Merit: 1018



View Profile
June 06, 2013, 01:37:52 AM
 #15

The chance of finding a lower hash earlier in the blockchain would just be proportional to the area under the hash rate graph.  It is a function of the total number of hashes performed.  So, 50% of all hashes have been performed in the last 90 days, then there would be a 50% chance of finding a lower hash in all previous days had their blocks examined.

And that hash you found was about 1000x 'rarer' than was necessary to be in included.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 06, 2013, 02:15:45 AM
 #16

The chance of finding a lower hash earlier in the blockchain would just be proportional to the area under the hash rate graph.  It is a function of the total number of hashes performed.  So, 50% of all hashes have been performed in the last 90 days, then there would be a 50% chance of finding a lower hash in all previous days had their blocks examined.

I'm not sure that is true.

Taking an extreme example:

Assume that there are only 2 hashes performed total in the history of a crypto-currency.
Assume that the second hash has a value of 0x000000000000000000000000000000000000000000000000000000000000000F

If the first hash had to meet a difficulty that would result in a hash lower than 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
I don't think that you can say that there is a 50% chance that the first hash will have a lower value than this second hash.

If the first hash had to meet a difficulty that would result in a hash lower than 0x000000000000000000000000000000000000000000000000000000000000000F
I think you can say there is a 100% chance that the first hash will have a lower value than this second hash.

It seems that you have to take into consideration how low the current value is as well as what the previous difficulties were somehow as well.

Having searched back through 11 months, there still are no lower value hashes yet.
Cubic Earth
Legendary
*
Offline Offline

Activity: 1176
Merit: 1018



View Profile
June 06, 2013, 04:56:29 AM
 #17

I agree with your example, but I don't think it addresses my point.  When I said 'function of total hashes performed', I was not referring to the set of hashes that solved blocks and are available for inspection in the blockchain.  I was speaking of all hashes performed on mining equipment thus far.

Lets say that 500 hashes have been performed in the last 3 months, and 500 in 3 years prior.  Every time the hash function is performed, it is equally likely to result in a value below 0x000000000000000000000000000000000000000000000000000000000000000F.  Such a hash would be included in the blockchain unless the difficulty was absurdly high.

Now that you have searched back 11 months, I'll guess that accounts for over 90% of hashes performed thus far.  So I'll give there being a 10% of finding a lower hash if you keep going.  Clearly this won't be proved nor disproved by what you find.

Also, my argument is not based on the particular hash value you found.  If you had found 0x000000000000000000000000000000000000000000000000000000000000000F in the first 90 days, the chances of finding a lower value would of course be essentially zero even if you looked back very far.  Mine is a very general argument.
dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
June 06, 2013, 07:00:53 AM
 #18

Top 20 blocks sorted by number of transactions, with their block height:

Code:
1976,225203
1871,191716
1852,193271
1836,193645
1833,191652
1798,194208
1771,193419
1721,224986
1684,224982
1678,230532
1633,213772
1601,230037
1589,192627
1552,213616
1544,231376
1506,220277
1495,232259
1491,230732
1483,191384
1480,230389
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 06, 2013, 02:57:46 PM
 #19

Mine is a very general argument.

And therefor not mathematically accurate.

Regardless, having searched through the entire blockchain, the block with the lowest value hash so far is:
000000000000000006582fa9652895fda92c757ae6beee9dfbc3932125b5ab8e
chriswilmer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


View Profile WWW
June 07, 2013, 06:55:22 AM
 #20

Top 20 blocks sorted by number of transactions, with their block height:

Code:
1976,225203
1871,191716
1852,193271
1836,193645
1833,191652
1798,194208
1771,193419
1721,224986
1684,224982
1678,230532
1633,213772
1601,230037
1589,192627
1552,213616
1544,231376
1506,220277
1495,232259
1491,230732
1483,191384
1480,230389

Thanks!

Where's your tip address?!!?
Pages: [1] 2 »  All
  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!