Bitcoin Forum
March 16, 2025, 07:15:36 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How much the code in Bitcoin protocol changed in 2024?  (Read 90 times)
fillippone (OP)
Legendary
*
Offline Offline

Activity: 2464
Merit: 17787


Fully fledged Merit Cycler - Golden Feather 22-23


View Profile WWW
March 12, 2025, 01:16:19 PM
Last edit: March 12, 2025, 07:25:18 PM by fillippone
Merited by vapourminer (2), ABCbits (2)
 #1

Hello,
I am absolutely not a technical person, but I stumbled in this slide from River:





276,000 changes in line of codes seems a very high number to me.

According to ChatGPT:

Quote
The Bitcoin protocol consists of several components, mainly the Bitcoin Core client, which is the reference implementation. As of recent updates, Bitcoin Core has around 600,000 to 700,000 lines of code, depending on the version.

This means that in 2024 almost 40% of the code changed.
This seems a lot to me, is this information reliable? How can I verify this?

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
She shining
Member
**
Offline Offline

Activity: 82
Merit: 35


View Profile
March 13, 2025, 06:59:12 AM
Merited by fillippone (7), vapourminer (2), ABCbits (2)
 #2


This means that in 2024 almost 40% of the code changed.
This seems a lot to me, is this information reliable? How can I verify this?
You can verify this from their github repository https://github.com/bitcoin/bitcoin and clicking on insight(click on the... at the top corner if it's not visible) would grant access to various data.
What you need should be in code frequency but github limits visualization for massive projects like Bitcoin.

So you can check on contributors and it would show their commits( saved file of changes).
Specify the duration to let's say 12 months and you can see their commit and to check manually. Click on their profile and you would see some project they have worked on. Click on Bitcoin Core and select the Year. Yes quite time consuming but the essence is to show that it's indeed possible for such changes to have been made not to verify everything.

If it's still not clear. I could use image though.
ABCbits
Legendary
*
Offline Offline

Activity: 3178
Merit: 8550


Crypto Swap Exchange


View Profile
March 13, 2025, 08:47:34 AM
Merited by pooya87 (4), fillippone (3), vapourminer (2)
 #3

That PDF screenshot have misleading information.
1. Not all lines of code on Bitcoin Core manage Bitcoin protocol, some of them have different usage (such as wallet management and how blockchain data is stored locally).
2. A Bitcoin Core developer state over 70% activity is related with maintenance[1].
3. With Ctrl-F, i unable to find mention whether "Over 276,000" include comment (rather than actual code) and refactor (rewrite the code without change on it's behavior).

And in narrow sense, Taproot was most recent major protocol change.

[1] https://www.coindesk.com/consensus-magazine/2023/02/23/can-bitcoin-afford-to-maintain-its-core-network-coindesk

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
pooya87
Legendary
*
Offline Offline

Activity: 3752
Merit: 11432


Crypto Swap Exchange


View Profile
March 13, 2025, 01:21:25 PM
Merited by fillippone (3)
 #4

The protocol itself can only change through a fork (soft or hard fork) and we have only had about a dozen of them so far in the past 16 years, from BIP-16 (P2SH) all the way to BIP-341-342-343 (Taproot).

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
MeGold666
Member
**
Offline Offline

Activity: 238
Merit: 98


View Profile
March 14, 2025, 07:15:45 PM
Last edit: March 14, 2025, 07:48:11 PM by MeGold666
 #5

3. With Ctrl-F, i unable to find mention whether "Over 276,000" include comment (rather than actual code) and refactor (rewrite the code without change on it's behavior).

Since the Bitcoin protocol is written in stone, they at least have to pretend they're doing something. Cheesy



They all have two things in common: they changed the world, and they are outdated.




Do not advertise gambling; it's a cancer.
Changelly is a SCAM exchange created by the same scammers who were behind MinerGate.
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!