6a1e57656c636f6d6520746f20426c6f636b636861696e20416e616c79736973

Month: February 2023

Bitcoin – Transactions Per Second (TPS)

Transactions per second (TPS) is an important metric when comparing Blockchains and features in the Blockchain trilemma (security, scalability, decentralisation). Bitcoin is heavily criticised for its low throughput which is often suggested to be approximately 7 transactions per second. This would equate to approximately 4200 transactions of around 250 bytes in each block (based on a 10-minute block time). This size of the transaction appears optimistic given recent average transactions, meaning the actual performance is lower.


The Bitcoin network’s TPS is frequently compared to VISA, with a figure of 24000 oft-cited for their payment service. VISA themselves claim a capacity of 65,000 transaction messages per second (it is unclear if each transaction required more than one message). It is important to note that this is a suggested capacity of their network, not how many occur. Based on VISA financial reports, the average (mean) transaction throughput in recent years was between approximately 4500 (2020) and 6100 (2022).

But I digress…


The typical calculation for a Blockchain’s throughput is (block size/transaction size) / block time

In Bitcoin, in its current configuration (as based on target block time), this would be (1MB / transaction size) / 600.

The transaction size on the Bitcoin network is variable and therefore this isn’t a constant. Bitcoin Visuals (bitcoinvisuals.com) assesses the average Bitcoin transaction size in recent years (2017 to 2022) to be between 455 and 636 bytes. This would equate to a transactions throughput of between 2.75 and 3.84 transactions per second based on the target 10-minute block time.

As I’ve written previously, the 10-minute block time is a target and is most frequently beaten. This has an impact on the calculation of transactions per second. There are instances where blocks are found within a second of the previous block. If the mempool (where pending transactions wait to be included in a block) is full, or near capacity at this time then the spot transactions per second value could be very high.

I reviewed the block headers for all blocks up till block 772089 (15th January 2023) and calculated the spot transactions per second for each block. In instances where a block was recorded as being mined earlier than its predecessor, the time difference was considered as a positive value.

Since the genesis block, Bitcoin has achieved approximately 5.7 transactions per second on average. The peak value I identified was 3087 transactions per second when block 572037 (16:02:17 17th April 2019) contained 3087 transactions, and was mined within 1 second of block 572036 (16:02:17 17th April 2019). It should be noted that this is one of the examples where the block height is positive, but the higher block is recorded as being mined earlier than the lower block emphasising the problems with the timing on the Bitcoin network.

The highest ‘non-negative’ time was in 2020 when block 649548 contained 3058 transactions and was mined one (1) second after block 649547 resulting in 3058 tps.


The table below summarises the last 12 years; in each of these years, there was at least one transaction a day.

Year201120122013201420152016
Max140387652766821.831795
Block Height of Max155293203685224618323678364691442517
Average (Mean)0.150.711.371.512.706.17
Year201720182019202020212022
Max285627863087305829402398
Block Height of Max465972549076572037649548687073752998
Average (Mean)13.057.9314.9713.6610.868.71

If negative time values are ignored, rather than being inverted, the figures change slightly. These results are summarised below:

Year201120122013201420152016
Max42278558766821.831382
Block Height of Max133623191425216547323678364691442239
Average (Mean)0.130.611.231.332.335.88
Year201720182019202020212022
Max285624933041305829402398
Block Height of Max465972556417565275649548687073752998
Average (Mean)12.077.2513.3012.8110.378.54

The increase in TPS from 2017 is expected, in part, the introduction of segwit to the Bitcoin protocol. By moving the witness data out of the block this allowed more transactions to be fitted within the 1MB block size.

Based on my previous experimentation with the accuracy of block timing where the average time between time in the block header and the time identified on my full node was 21 seconds then despite the findings above, they may not represent the throughput of the Bitcoin network. For example, if the timestamp of block 572037 was off by 21 seconds, then the TPS would go from 3087 to just 140. Still significantly higher than the expected throughput but lower than the summary figures would suggest.

Empty Bitcoin Transactions

During my usual browsing of various resources this morning I spotted an article on Cointelegraph entitled “You don’t see that every day: Empty Bitcoin block found”. This piqued by interest and in true ‘trust but verify’ mentality I thought I’d look into how frequently this occurs.


The Cointelegraph article focuses on block 776,339 which was the most recent zero transaction as of the time of the article. Since then there has been another zero transaction at block 776,521.

At the time of writing (17:00 14th February 2023) so far in 2023 there have been 13 blocks with no transactions (other than the coinbase) present in them; 770100, 770404, 770952, 771087, 773011, 773329, 773966, 774234, 774486, 774845, 775654, 776339 and 776521.

Since the genesis block, there has been a total of 89,453 blocks with zero-transactions. This is greatly influenced by the first two years which account for 88% of the zero-transaction blocks. Overall approximately 11.5% of blocks have contained no transactions, but in recent years this has been consistently under 1%.


The table below provides the total number of zero transaction blocks per year since the genesis block.

Year20092010201120122013201420152016
Number of Zero
Transaction Blocks
3231146489358515264205471701977
Percentage99.4568.456.012.800.660.933.131.78
Year2017201820192020202120222023 (Partial)
Number of Zero
Transaction Blocks
52843831424022114413
Percentage0.940.800.580.450.420.270.19

The graph below shows the last 10 years:


In writing this I noted that the Cointelegraph article reports that prior to block 776,339 the previous empty block was 774,486 a little over two weeks before. In analysing empty blocks I noted that there were two blocks closer to 776,339 which were empty (blocks 774,845 and 775,654). I’ve e-mailed the Cointelegraph editor and hopefully this will be corrected.

EDIT: The author reached out to me after my e-mail but as of 26th February 2023 the article remains uncorrected.

About Me

I’ve been somewhat busy of late so there’s not a fresh article this week. I have, however, added an About Me section to the blog.

Normal service will resume next week with a post on Bitcoin’s Transactions Per Second (TPS).

Bitcoin’s final block reward

I’ve previously looked at block timing against the target 10-minute time and we have seen that since 2010 the Bitcoin network, despite the difficulty retargeting every two weeks, has consistently beaten, on average, the target time.

With that in mind, when will the final block reward be granted? It is often cited that this will be 2140, but could the current trajectory bring this significantly sooner?


The Bitcoin network halves the miner’s reward every 210000 blocks, which should equate to 4 years. The block reward for the first 210000 blocks was 50 BTC, or 5000000000 Satoshis. This halves every 4 years until block 6,720,000 when the reward will be 1 Satoshi for each of the next 210000 blocks. At the next halving, the value falls below 1 Satoshi which is the minimum representable amount within Bitcoin and therefore no block rewards will be offered; miners will be rewarded transaction fees only.

The table below summarises the block rewards:

Block HeightBlock Reward (Sats)
05000000000
2100002500000000
4200001250000000
630000625000000
840000312500000
1050000156250000
126000078125000
147000039062500
168000019531250
18900009765625
21000004882813
23100002441406
25200001220703
2730000610352
2940000305176
3150000152588
336000076294
357000038147
378000019073
39900009537
42000004768
44100002384
46200001192
4830000596
5040000298
5250000149
546000075
567000037
588000019
60900009
63000005
65100002
67200001
69300000

If the block time was a consistent 10-minutes from the genesis block (3rd January 2009 at 18:15:05) onward, block 6930000 would be expected on 8th October 2040.

Based on the average (mean) block time from the genesis block to block 762150, block 6930000 would be expected on 1st December 2137, just over three years ahead of the expected date.


Is this realistic? I would not expect so.

The first 10 years of Bitcoin’s existence saw huge gains in hashing power from general purpose processors (CPUs) to more specialist graphics processing units (GPUs) to specific hardware being designed with the sole purpose of hashing (Application Specific Integrated Circuits; ASICs). It has also seen a large increase in the number of individuals and companies investing resources into mining bitcoin, although less so in recent years due to the difficulty targets and the cost of hardware and electricity.

This growth has resulted in similarly huge variations of the difficulty target but with only two week of granularity, the protocol is relatively slow to change to accommodate the increased hashing power.

I would expect that in time, the advances and investment into increasing hash rates will decrease, especially in later years where the block reward is very small. However, this depends on the value of bitcoin and the transaction fee values rewarded to the miner. This stabilisation of hashing power will allow the Bitcoin protocol’s difficulty retargeting to be more effective and I would expect it will drift closer to the 10-minute mark over time. It does not negate, however, that we are ahead at this point, as the retargeting only takes into account the previous 2016 blocks and not all previously existing blocks, and therefore I would expect that we will ‘beat’ the target of 8th October 2040.