Close Menu
    Facebook X (Twitter) Instagram
    Trending
    • The United States Leads the Charge in Bitcoin Adoption: A Rising Correlation with Stock Markets
    • Memecoins Stir Up the Market – CryptoNinjas
    • Meme Coins Are #1 Trend in 2024
    • Top Analyst Now Sees Window of Opportunity for Bitcoin and Altcoins To Pop – But There’s a Catch
    • Toncoin Signals Accumulation Phase as Open Interest Hits Nine-Month Low – What’s Next?
    • Bitget Token Surprises the Market by Rising 813% in 2024: Can You Predict Its 2025 Value?
    • Ethereum Price Approaches Critical Resistance: A Turning Point?
    • DeFi Exploits Plunge 40% In 2024, But Centralized Exchange Losses Soar – Report
    Coin Elites
    • Home
    • Cryptocurrency
    • Crypto News
    • Ethereum
    • Bitcoin News
    • Blockchain
    • Altcoins
    • Shop
    Coin Elites
    Home»Ethereum»Untangling Bitcoin: Why Russell Yanofsky Is Taking Apart Crypto’s Oldest Code
    Ethereum

    Untangling Bitcoin: Why Russell Yanofsky Is Taking Apart Crypto’s Oldest Code

    dfrancis36By dfrancis36July 26, 2024No Comments5 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    [ad_1]

    Developers often use words like “monolithic,” “blob” and “tangled” to describe the code underpinning bitcoin.

    These words paint a picture of how difficult the code can be to comprehend and, in turn, work with, and it’s not exactly a comforting thought for a network supporting $61 billion in investor dollars. That’s not to say bitcoin doesn’t work – it does – but the state of the codebase does leave something to be desired, both for users who might desire more flexibility and the developers who want to improve it.

    So, although changes like the code optimization Segregated Witness (SegWit) and the philosophy of so-called “hard fork” upgrades have attracted the most attention of late, several bitcoin developers are working under the radar to untangle bitcoin’s messy architecture.

    Chaincode’s Russell Yanofsky, for one, is attempting to tackle one part of the problem with something called “process separation” in the Bitcoin Core code, the most used of the software options.

    Yanofsky told CoinDesk:

    “Bitcoin is an older codebase. It’s changed a lot over time. There are lots of parts of it where, if we were writing everything from scratch, we’d probably do things differently. But since we have this legacy of code, we have to find ways to maintain it.”

    Ditch the monolith

    To begin to understand Yanofksy’s process separation technique, you must first understand that the Bitcoin Core software is made up of many different pieces and two so-called “processes” that are lumped together in, some would argue, a random way.

    The first process is called “bitcoind” and, according to Yanofsky, is made up of a few things: the peer-to-peer code, which connects the nodes in the network; the validation code, which checks whether transactions and blocks that a node receives are valid; and the wallet code, which stores a user’s private keys.

    The second process, “bitcoin-qt,” runs all of those things with the addition of a user interface so users with little tech experience can run a full node without using the command line.

    Yanofsky thinks it would be better to separate some of these aspects of the code. To that end, he’s creating a new process, “bitcoin-walletd,” which splits off the wallet code from bitcoind. And he’s removing all of the code from bitcon-qt except the user interface.

    His slides from a BitDevs presentation in New York City this week show the difference in structure:

    slide1slide1slide1

    slide2slide2slide2

    At a high level, it may seem as if the various bitcoin processes are already completely separated, but in coding terms they aren’t. So now, Yanofsky is essentially building barriers between the different components.

    In this way, once the code is finished, the wallet portion will not be able to touch other parts of the code.

    Mix and match

    So, what would this mean for users? More flexibility, mostly.

    Users can move things around like a puzzle, mixing and matching the pieces Yanofsky is splitting up. For example, with the wallet not tied to the node, users could take the wallet and use it with any bitcoin node.

    “Maybe if you’re using an older wallet that doesn’t support new features and you don’t want to get rid of it – or you don’t want to transfer your money out,” the option to bring the wallet over to a different node might be useful, he said.

    In much the same way, users might want to use the user inteface of bitcoin-qt with different bitcoind nodes.

    “You could basically have a bitcoin node running on a server someplace. Maybe you just want to run the GUI to just check what its bandwidth usage is or its peer-to-peer connections are,” Yanofsky said.

    Creating more options for users, something bitcoin enthusiasts are particularly attentive to, is why Yanofsky is working on the project at all.

    While he admits his changes could slow things down a little, or make debugging code more difficult for developers, the project has gotten a GitHub blessing from several Bitcoin Core contributors, including lead maintainer Wladimir J. van der Laan and contributor Daniel Cousen.

    And that’s partly because the advantages aren’t only user-facing, Yanofksy said, adding:

    “There are user-visible features that come out of it, but there’s also a big architectural and code cleanup component to it.”

    Review bottleneck

    While Yanofsky said he’s almost done writing the code for the major upgrade, there’s still a number of things need to happen before it can be officially added to Bitcoin Core.

    “The biggest problem with review is getting people’s attention,” he said.

    Since a number of open-source bitcoin developers have to review each code change before it can be added, and there is a limited number of developers with the expertise to review code changes, the process could be a long one.

    Yanofsky also expects some other changes, such as Cory Fields’ peer-to-peer code additions and wallet code changes from his Chaincode colleague Matt Corallo, will also take precedence over his process separation change.

    “Right now the focus is definitely not in this area,” Yanofsky said. “Our biggest priority right now is getting better SegWit support. This feature will have to wait its turn.“

    But while it’s not on the priority list just yet, the work still promises to be an important change, as highlighted by Blockstream CTO Greg Maxwell’s comment on the Yanofsky’s Github:

    “I think we should have done something like this a long time ago.”

    Disclosure: CoinDesk is a subsidiary of Digital Currency Group, which has ownership stake in Blockstream. 

    Lego image via Shutterstock

    The leader in blockchain news, CoinDesk is an independent media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. Interested in offering your expertise or insights to our reporting? Contact us at [email protected].

    https://www.coindesk.com/untangling-bitcoin-russell-yanofsky-taking-apart-cryptos-oldest-code/



    [ad_2]

    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    dfrancis36
    • Website

    Related Posts

    Solana DApps Generate $365M In Revenue In November, Pump.fun Leads With $100M Monthly Earnings

    December 19, 2024

    NOW Wallet: Simplifying crypto management to boost user adoption

    December 19, 2024

    P2P.org’s Ethereum Staking Application Is Now Available on Popular Wallet Provider Safe

    December 12, 2024

    Direct From Abu Dhabi Finance Week: Is MENA The Next World Crypto Hub?

    December 12, 2024
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    The United States Leads the Charge in Bitcoin Adoption: A Rising Correlation with Stock Markets

    January 28, 2025

    Memecoins Stir Up the Market – CryptoNinjas

    December 25, 2024

    Meme Coins Are #1 Trend in 2024

    December 25, 2024

    Top Analyst Now Sees Window of Opportunity for Bitcoin and Altcoins To Pop – But There’s a Catch

    December 25, 2024

    Toncoin Signals Accumulation Phase as Open Interest Hits Nine-Month Low – What’s Next?

    December 25, 2024
    Categories
    • Altcoins
    • Bitcoin News
    • Blockchain
    • Crypto News
    • Cryptocurrency
    • Ethereum
    About us

    Welcome to CoinElites.com, your premier destination for the latest news and insights in the dynamic world of cryptocurrency. Our blog is dedicated to providing you with up-to-the-minute updates and comprehensive analysis on everything related to Crypto News, Bitcoin, Ethereum, and other cryptocurrencies.

    At CoinElites.com, we understand the fast-paced nature of the crypto market and the importance of staying informed. Whether you're an experienced trader, a casual investor, or someone new to the world of digital currencies, our mission is to deliver accurate and relevant information to help you navigate the ever-evolving landscape of cryptocurrency.

    Top Insights

    The United States Leads the Charge in Bitcoin Adoption: A Rising Correlation with Stock Markets

    January 28, 2025

    Memecoins Stir Up the Market – CryptoNinjas

    December 25, 2024

    Meme Coins Are #1 Trend in 2024

    December 25, 2024
    Categories
    • Altcoins
    • Bitcoin News
    • Blockchain
    • Crypto News
    • Cryptocurrency
    • Ethereum
    • Privacy Policy
    • Disclaimer
    • Terms & Conditions
    • About us
    • Contact us
    Copyright © 2024 Coinelites.com All Rights Reserved.

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