Unbreaking testnet4

Posted by Sjors Provoost

Apr 28, 2025/12:47 UTC

Jameson Lopp addresses a concern regarding the implementation of testnet-specific features alongside mainnet consensus code. He emphasizes the importance of keeping changes simple to avoid unintended disruptions to the mainnet. Specifically, Lopp argues against the idea of coin expiration due to its extensive impact on various components such as consensus, mempool, and wallet systems. This feature would challenge the fundamental assumption that coins do not expire, necessitating widespread modifications.

Lopp proposes an alternative approach to modify the GetBlockSubsidy function for testnets. By doubling the coins at every halving event instead of reducing them, this method introduces a significant change with minimal code adjustments. The logic behind this proposal is illustrated through a simple conditional operation within the subsidy calculation process. Although this solution risks causing an overflow eventually, it is considered manageable within the testnet environment. Moreover, concerns related to exceeding the maximum Bitcoin amount recognized by certain implementations, like Rust Bitcoin, are acknowledged but deemed addressable in the future.

The discussion extends to broader implications of strong inflation strategies, historically utilized by governments to discourage saving. This mention implies a critique or reflection on the effects of inflationary policies on currency value and savings behavior. Through this dialogue, Lopp contributes to the exploration of economic principles within cryptocurrency development contexts, highlighting the balance between innovation and stability in blockchain technology.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiBitcoin Transcripts Review
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project?

Give Feedback