About Technology Wallets Governance Academy News Community
Technical Update

Marscoin Completes Major Version Upgrade: Bitcoin Core 28.x Sync and Merged Mining

February 3, 2025 Marscoin Foundation

Marscoin Network

The Marscoin development team is pleased to announce a comprehensive upgrade of the core software, bringing our codebase in line with Bitcoin Core 28.x while preserving and enhancing Marscoin’s distinctive features. This major version update represents a significant milestone in our ongoing commitment to maintaining a robust, secure, and forward-looking blockchain infrastructure.

Technical Overview

Modernized Core Architecture

The Marscoin codebase has been extensively updated to incorporate the mature and battle-tested infrastructure of Bitcoin Core 28.x. This significant engineering effort ensures that Marscoin benefits from years of Bitcoin Core development while maintaining its unique characteristics and feature set (removal of RBF, scrypt algorithm etc). The new implementation is available at github.com/marscoin/marscoin, with the previous version preserved at github.com/marscoin/marscoin-archive for reference and research purposes.

This architectural modernization brings substantial improvements to Marscoin’s core functionality. Memory management has been significantly enhanced, leading to more efficient operation of nodes across various hardware configurations. The network layer has undergone extensive refinement, improving peer-to-peer communication reliability and reducing the likelihood of network partitioning events.

Our cryptographic foundation has been strengthened through the integration of updated libraries, ensuring continued resilience against emerging security challenges. The consensus rule validation system has been reinforced, maintaining the network’s integrity while preparing for future protocol enhancements. Additionally, the peer management system has been overhauled to provide more robust connection handling and improved network topology.

AuxPoW Implementation

The integration of Auxiliary Proof of Work (AuxPoW) marks a significant technical advancement for the Marscoin network. This implementation enables merged mining with other Scrypt-based cryptocurrencies, including Litecoin and Dogecoin. Our engineering team has carefully designed the AuxPoW implementation to maintain full compatibility with existing Scrypt mining infrastructure while minimizing additional overhead for mining pools.

The technical architecture ensures that block validation efficiency remains high, even with the added complexity of merged mining verification. We’ve paid particular attention to preserving our characteristic 2-minute (123 seconds) block target timing, implementing sophisticated timestamp handling to manage the interplay between parent and auxiliary chains.

ASERT Algorithm Integration Status

The ASERT difficulty adjustment algorithm has proven remarkably effective since its implementation in our previous update. Network monitoring shows consistent block times even during periods of significant hashrate volatility. This stability has been particularly evident in recent weeks, as we’ve observed block times maintaining their target spacing despite hashrate fluctuations of up to 300% during testing periods.

The algorithm’s performance provides a solid foundation for our transition to merged mining, as it can readily adapt to the increased hashrate variability that typically accompanies AuxPoW integration. Our monitoring systems have shown that block time variance has decreased by approximately 47% since the ASERT implementation.

Technical Implementation Timeline

The new codebase is available for immediate download and testing. The AuxPoW activation is scheduled for block 3,145,555, chosen specifically to allow adequate preparation time for all network participants. The activation mechanism utilizes a time-based soft fork, ensuring backward compatibility while providing a clear upgrade path.

Integration Guidelines

For Mining Pools

Mining pool operators play a crucial role in this transition. We’ve prepared comprehensive stratum protocol specifications that detail the necessary changes for AuxPoW support, including a complete regression testing suite.

For Exchanges

Exchange operators will find updated transaction validation rules that account for the new block structure introduced by AuxPoW. We’ve introduced new RPC methods specifically designed to handle AuxPoW block validation.

For Node Operators

We’ve streamlined the upgrade process by providing thoroughly tested binary releases for major operating systems, along with enhanced build documentation with detailed instructions and troubleshooting guides.

Technical Continuity

The Marscoin project continues to advance while maintaining its core principles and architectural decisions. Our commitment to 2-minute block times has proven prescient, providing an optimal balance between transaction confirmation speed and network stability. Our general stance on ASIC resistance remains unchanged, as we believe in maintaining a distributed and accessible mining network.

Fast Sync

For a faster resync of the blockchain feel free to use our official snapshot site to speed up the process: https://sync.marscoin.org/

Resources

Technical discussions and questions are welcome through our official channels.

Contact: [email protected]

Bitcoin-Core AuxPoW merged-mining network-upgrade protocol
Olympus
Olympus Online