Close Menu
ItsDailyCrypto.comItsDailyCrypto.com
  • Advertise
  • Home
  • Bitcoin
  • Altcoins
  • VeChain
  • Cardano
  • Ethereum
  • NFTs
  • Ripple
  • Solana
  • Log In
ItsDailyCrypto.comItsDailyCrypto.com
  • Home
  • Bitcoin
  • Ethereum
  • Solana
  • Cardano
  • Ripple
  • VeChain
  • Altcoin
  • NFTs
ADVERTISE
  • Log In
ItsDailyCrypto.comItsDailyCrypto.com
Home»Bitcoin»Why not use X instead? Bitcoin – An Example of a Useful Tool

Why not use X instead? Bitcoin – An Example of a Useful Tool

Bitcoin By G. Wallace11/03/2024
Facebook Twitter LinkedIn Email
eth org
eth org
Share
Facebook Twitter LinkedIn Email

Bitcoin developer Gregory Maxwell has written the following. on Reddit:

A design flaw exists in the Bitcoin protocol that allows a third-party to take your valid transaction and modify it so it is functionally identical, but has a different transaction number. It is difficult to write correct wallet software and can be used to invalidate a long chain of unconfirmed transaction chains that depend on a non-mutant transactions (since transactions are referred to by their txid).

This problem is due to a number of factors. One of these is OpenSSL’s willingness and ability to understand signatures with invalid encodes. A normal ECDSA signature encodes two large integers, the encoding isn’t constant length— if there are leading zeros you are supposed to drop them.

It is easy to write software that assumes signatures will always be the same length, and then add extra leading zeros.

This is a cautionary tale that is very important, as it is the reason we have chosen certain design decisions for our development philosophy. The issue is that many people keep bringing up the fact that we are unnecessarily creating the wheel in many places. own serialization format, RLPInstead of using existing protobuf We’re developing an application-specific scripting languages instead “just using Lua”. This is an important concern. commonly-used pejorative, so doing such in-house development does require justification.

The cautionary story I cited above is the perfect example for the justification I will give. The external technologies such as protobuf, Lua and OpenSSL are excellent and have many years of development, but they often were not designed with the perfect cryptographic integrity and consensus that cryptocurrency requires. OpenSSL is a perfect example. There are no other areas where you could take a valid hash and make it into another valid hash. But here, it is fatal. Ethereum has a core principle of simplicity. Its protocol should contain as few black boxes as possible and should be as easy to understand as possible. Each and every feature of each sub-protocol must be documented in the whitepaper, wiki or other official document. This specification should then be used to implement it. test-driven development). Doing this for an existing software package is arguably almost as hard as building an entirely new package from scratch; in fact, it may even be harder, since existing software packages often have more complexity than they need to in order to be feature-complete, whereas our alternatives do not – read the protobuf spec Compare it with the RLP spec Please read what I’m saying.

The above principle is not without its limitations. As an example, we would be foolish to think that we can invent everything. own The hash algorithm is the well-known and widely used SHA3, for signatures it’s the secp256k1 that Bitcoin uses, but instead of using OpenSSL buffer protocol, we use RLP for storing the v.r.s triple. (The v.r.s. is the extra two bits required for public key recovery) This is the kind of situation where “just using X” This is exactly the right way to go, as X has a clear and easily understandable interface. There are also no subtle differences among different implementations. There is no doubt that the SHA3 for an empty string in C++, Python and Javascript is c5d2460186…a470. Finding the right balance is what lies between these two extremes.

“This article is not financial advice.”

“Always do your own research before making any type of investment.”

Source: blog.ethereum.org

Crypto
Share. Facebook Twitter LinkedIn Email
Avatar
G. Wallace
  • Website

Related Posts

When Asia stocks weaken, Bitcoin faces a $60k resistance-flip.

26/06/2026

Bitcoin struggles to maintain critical level as it hangs on a key.

26/06/2026

Michael Saylor Facing $14 Billion in Unrealized Bitcoin Losses

26/06/2026

Bitcoin ETFs Log $696M Outflows as Bitcoin Drops Beneath 60K

26/06/2026
Top News

As BTC above $76K, Crypto ETPs extend the inflow streak

Bitcoin is Cash for the Internet

As Bitcoin ETF inflows resume, indicating a bullish momentum

ETH Raise and BTC plunge

Uniswap: Why UNI stalls at $6, even though whales continue to buy

Load More

Welcome to itsDailyCrypto.com – your destination for the latest updates and insights from the world of cryptocurrencies and blockchain technology. Whether you're a seasoned investor or just beginning your journey into the realm of digital assets, we're here to keep you informed and engaged. Stay tuned for the most current news, trends, and expert analysis to navigate the ever-evolving landscape of crypto.

We're social. Connect with us:

X (Twitter) Instagram
Categories
  • Home
  • Bitcoin
  • Ethereum
  • Solana
  • Cardano
  • Ripple
  • VeChain
  • Altcoin
  • NFTs
Top Insights

When Asia stocks weaken, Bitcoin faces a $60k resistance-flip.

26/06/2026

OpenAI releases GPT-5.6 preview

26/06/2026
X (Twitter) Instagram
  • About us
  • Contact
  • Privacy Policy
  • Advertise
© 2026 Itsdailycrypto.com. Powered by Zwijberg

Type above and press Enter to search. Press Esc to cancel.

solana
Solana (SOL) $ 72.50
bitcoin
Bitcoin (BTC) $ 59,936.00
ethereum
Ethereum (ETH) $ 1,580.15
bnb
BNB (BNB) $ 566.89
dogecoin
Dogecoin (DOGE) $ 0.075486
xrp
XRP (XRP) $ 1.05
vechain
VeChain (VET) $ 0.004502
world-mobile-token
World Mobile Token (WMTX) $ 0.040196
cardano
Cardano (ADA) $ 0.147998
shiba-inu
Shiba Inu (SHIB) $ 0.000004
chainlink
Chainlink (LINK) $ 7.36
hackenai
Hacken (HAI) $ 0.001517
hapi
HAPI (HAPI) $ 0.226238
gala
GALA (GALA) $ 0.002351