Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
Crypto Flexs
Home»ETHEREUM NEWS»Why not use X? Useful Examples of Bitcoin
ETHEREUM NEWS

Why not use X? Useful Examples of Bitcoin

By Crypto FlexsJune 11, 20243 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Why not use X?  Useful Examples of Bitcoin
Share
Facebook Twitter LinkedIn Pinterest Email

Bitcoin developer Gregory Maxwell wrote: From Reddit:

There is a design flaw in the Bitcoin protocol that allows a third party to take your valid transaction and alter it in a way that is valid and functionally identical, but with a different transaction ID. This greatly complicates writing proper wallet software, and can be abused to invalidate long chains of unconfirmed transactions that rely on non-mutant transactions (since transactions refer to each other by txid).

This problem arises from several sources. One of them is OpenSSL’s willingness to accept and understand signatures containing incorrect encoding. A typical ECDSA signature encodes two large integers, and the encoding is not of constant length. If there are leading zeros, they should be removed.

It’s easy to write software that assumes the signature is of constant length and leaves extra leading zeros.

This is a very interesting cautionary tale, and especially important because situations like this are part of the reason we made certain design decisions in our development philosophy. The problem in particular is this. Many people continue to raise the point that we are unnecessarily reinventing the wheel in many places and creating our own serialization formats. RLPInstead of using the existing protoboof And instead of “just using Lua,” we are building an application-specific scripting language. This is a very valid concern. Syndrome not invented here A commonly used derogatory expressionTherefore, this self-development requires justification.

And the cautionary tale quoted above provides exactly the perfect example of the justification I will provide. External technologies such as protobuf, Lua or OpenSSL are very good and have had years of development, but in many cases they were not designed with the perfect consensus, determinism and cryptographic integrity required by cryptocurrencies in mind. The OpenSSL situation above is a perfect example. Outside of cryptocurrencies, there’s really no situation where the fact that you can take a valid signature and replace it with another valid signature using a different hash is a critical issue, but here it’s critical. One of Ethereum’s core principles is simplicity. Protocols should be as simple as possible and should not contain black boxes. Every single feature of every single sub-protocol must be 100% accurately documented in a whitepaper or wiki, and implemented using it as a specification (i.e. test-driven development). Doing this for an existing software package is just as difficult as building an entirely new package from scratch. In fact, it may be even more difficult because existing software packages are more complex than necessary to complete their functionality, and our alternative is not. Protoboof specifications And compare them. RLP Specification To understand what I mean.

The above principles have limitations. For example, we are not so foolish as to start inventing our own hashing algorithms instead of using the universally acclaimed and well-validated SHA3. For signatures it’s using the same old secp256k1 as Bitcoin, but for storage it’s using RLP. Instead of the OpenSSL buffer protocol it is a v,r,s triple (v is an additional 2 bits for public key recovery purposes). These kinds of situations are ones where “just use X” is exactly the right thing to do. Because X has a clean, well-understood interface and there are no subtle differences between different implementations. SHA3 ​​for an empty string is c5d2460186…a470 in C++, Python, and Javascript. There’s no debate about that. It is important to find fundamentally the right balance between these two extremes.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Altcoin benefits of capital rotation

July 22, 2025

The future of EF ecosystem development

July 18, 2025

Tornado cash Roman storms insist on Doj Botched Key Telegram evidence.

July 14, 2025
Add A Comment

Comments are closed.

Recent Posts

Ethereum Based Meme Coin PEPETO Raises Above $5.5M In Presale

July 22, 2025

MultiBank Group’s $MBG Token TGE Is Live On MexC, Gate.io, Uniswap And Multibank.io.

July 22, 2025

Ark Invest sells coinbase stocks and invests in BitMine.

July 22, 2025

Altcoin benefits of capital rotation

July 22, 2025

KAITO unveils Capital Launchpad, a Web3 crowdfunding platform that will be released later this week.

July 22, 2025

CARV Advances AI Beings Roadmap With Hackathon And 12+ Ecosystem Partnerships

July 22, 2025

POLYMARKET will re -enter the United States after the acquisition of QCEX $ 112 million.

July 22, 2025

FTT increases by 7% as the backpack starts the platform to help victims clear liquidation.

July 21, 2025

Monarq Asset Management Appoints Sam Gaer As CIO To Lead Directional Strategy

July 21, 2025

Little PEPE surpasses $ 4 million in pre -sales, emerging as one of the main memes in 2025.

July 21, 2025

Bitcoin Price $ 123K Explosion -Trader Brace for Brake Out

July 20, 2025

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

Ethereum Based Meme Coin PEPETO Raises Above $5.5M In Presale

July 22, 2025

MultiBank Group’s $MBG Token TGE Is Live On MexC, Gate.io, Uniswap And Multibank.io.

July 22, 2025

Ark Invest sells coinbase stocks and invests in BitMine.

July 22, 2025
Most Popular

What is a self-managed wallet? (2024)

May 30, 2024

Is the Ethereum ETF the trigger for altcoin season? Evaluated by experts!

June 3, 2024

Could Bitcoin Reach $60,000?

February 23, 2024
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

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