Skip to content

Linux miner rejects documented --show-payload dry-run flag #3975

@godd-ctrl

Description

@godd-ctrl

Summary

The dry-run testing instructions in the miner bounty ask users to run:

python3 rustchain_linux_miner.py --dry-run --show-payload

devlog/DEVELOPMENT_LOG.md also mentions --show-payload as added. But the current miners/linux/rustchain_linux_miner.py argument parser rejects that flag.

Reproduction

From a fresh clone:

cd miners/linux
python rustchain_linux_miner.py --dry-run --show-payload

Actual result

usage: rustchain_linux_miner.py [-h] [--version] [--wallet WALLET]
                                [--wart-address WART_ADDRESS]
                                [--wart-pool WART_POOL]
                                [--bzminer-path BZMINER_PATH]
                                [--manage-bzminer] [--dry-run]
rustchain_linux_miner.py: error: unrecognized arguments: --show-payload

Expected result

Either:

  1. --show-payload should be implemented for the Linux miner dry-run path, or
  2. docs/bounty instructions should remove --show-payload and use the currently supported command:
python rustchain_linux_miner.py --dry-run

Environment

  • OS: Windows 11 Home 64-bit
  • CPU: AMD Ryzen 5 3600 6-Core Processor, 6 cores / 12 logical processors
  • Python: 3.13.2
  • Repo path: miners/linux/rustchain_linux_miner.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions