Coder Proposes Alternative to Bitcoin's 'Notoriously Unreliable' Testnet

Introduced Wednesday, a new proposal called Signet offers a fresh alternative to bitcoin's test network.

AccessTimeIconJul 18, 2019 at 4:00 a.m. UTC
Updated Aug 18, 2021 at 12:54 p.m. UTC

Presented By Icon

Election 2024 coverage presented by

Stand with crypto

Introduced Wednesday, a new proposal called Signet offers a fresh alternative to bitcoin's test network.

The software plays a crucial role for developers, serving as a place where they can test their apps, to make sure they work reasonably well on the network by putting only test money on the line. Further, protocol developers can use it to test the viability and safety of big changes to bitcoin, such as Segregated Witness, one of the best-known and largest-scale bitcoin changes.

  • Bitcoin Mining in the U.S. Will Become 'a Lot More Decentralized': Core Scientific CEO
    13:18
    Bitcoin Mining in the U.S. Will Become 'a Lot More Decentralized': Core Scientific CEO
  • Binance to Discontinue Its Nigerian Naira Services After Government Scrutiny
    05:10
    Binance to Discontinue Its Nigerian Naira Services After Government Scrutiny
  • The first video of the year 2024
    04:07
    The first video of the year 2024
  • The last regression video of the year 3.67.0
    40:07
    The last regression video of the year 3.67.0
  • But bitcoin's current testnet, which has been around in its current form for years, has its share of problems. In a new Bitcoin Improvement Proposal (BIP) posted to the bitcoin developer email list, Bitcoin Core contributor Karl-Johan Alm goes as far as to call it "notoriously unreliable."

    He hopes to change that with a new type of testnet for bitcoin that gets around the old testnet's problems.

    Alm told CoinDesk:

    "Signet is like bitcoin, but it is completely centralized and controlled by one or several people. These people have to sign a block for it to actually be valid."

    Many of the problems with the testnet have to do with mining blocks, which is more erratic on the testnet than on the real bitcoin network. A few of the problems, Alm argues in the BIP, are: "Huge block reorgs, long gaps in between blocks being mined or sudden bursts of blocks in rapid succession mean that realistic testing of software, especially involving multiple independent parties running software over an extended period of time, becomes infeasible in practice."

    "Reorgs" are when one block is replaced with another block.

    To a degree, this happens naturally in bitcoin because it's a distributed network with nodes scattered all over the world, so it takes a bit of time for the nodes to come to agreement on block and transaction history. If two blocks are broadcast at about the same time from different parts of the network, one block might seem valid to some of the network, and another block valid to the rest of the network. So, the network needs some time to reconcile these conflicting blocks.

    The problem is that this event happens much more frequently - and on a larger scale - on the test network.

    "The goal is not to be perfectly reliable but rather to have a predictable amount of unreliability. You want a test network to behave like mainnet (i.e. no thousands of block reorgs) while also making it easier to trigger expected but rare events like a 6-block reorg," the BIP explains.

    As a centralized testnet alternative, Signet would help to alleviate these types of problems.

    "Signet helps prevent these problems because the signer is fixed. Making blocks can be pretty cheap because you don't compete with anyone, and there is no security issue with a low hash rate since nobody else has the private keys. Since the network is highly coordinated, reorgs will basically never occur, except if the network operators want them to," Alm told CoinDesk.

    Though there is a test Signet live already, his next goal is to get support for the change merged into Bitcoin Core, so that people can use it like the current testnet. In the proposal, Alm also linked to a rough draft Signet code implementation that other developers can test.

    Hackers via CoinDesk archives 

    Disclosure

    Please note that our privacy policy, terms of use, cookies, and do not sell my personal information have been updated.

    CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. CoinDesk has adopted a set of principles aimed at ensuring the integrity, editorial independence and freedom from bias of its publications. CoinDesk is part of the Bullish group, which owns and invests in digital asset businesses and digital assets. CoinDesk employees, including journalists, may receive Bullish group equity-based compensation. Bullish was incubated by technology investor Block.one.


    Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.