Skip to content

[RelayMiner] Auto-update RelayMiner mechanism #1414

@red-0ne

Description

@red-0ne

Objective

Implement an auto-update mechanism for RelayMiner to ensure nodes seamlessly update to the latest version when released.

Origin Document

Manual updates of RelayMiner create operational friction for node operators and can lead to version fragmentation across the network. Automating this process is essential for maintaining network health and reducing user maintenance burden.

Goals

  • Improve RelayMiner operational efficiency by eliminating manual update processes
  • Ensure nodes run the latest stable version without requiring user intervention
  • Maintain network consistency by reducing version fragmentation

Deliverables

  • Implement version discovery mechanism to detect new releases
  • Create secure download and verification system for new RelayMiner binaries
  • Develop graceful update procedure that preserves node state and minimizes downtime
  • Add configuration options to control update behavior (automatic vs. prompted)
  • Add comprehensive logging for the update process

Non-goals / Non-deliverables

  • Forcing updates for users who prefer manual control
  • Updating any components other than RelayMiner
  • Changing the fundamental architecture of RelayMiner
  • Modifying blockchain consensus rules or protocol

General deliverables

  • Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
  • Testing: Add new tests (unit and/or E2E) to the test suite.
  • Makefile: Add new targets to the Makefile to make the new functionality easier to use.
  • Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @red-0ne
Co-Owners: @Olshansk @okdas

Metadata

Metadata

Assignees

Labels

off-chainOff-chain business logicrelayminerChanges related to the RelayminerupgradeProtocol Upgrades

Projects

Status

📋 Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions