Skip to content

Verification: Miner Payload Schema - 2 RTC #528

@RyanD66

Description

@RyanD66

Miner Payload Schema Verification

Payload Structure Found

The miner payload is defined in rustchain_linux_miner.py:

payload = {
    "miner_pubkey": self.wallet,
    "miner_id": f"ryzen5-{self.hw_info['hostname']}",
    "device": {
        "family": self.hw_info["family"],
        "arch": self.hw_info["arch"]
    }
}

Fields

Field Type Description
miner_pubkey string Wallet address of the miner
miner_id string Format: {device_type}-{hostname}
device.family string Hardware family (e.g., "AMD Ryzen 5")
device.arch string Architecture (e.g., "x86_64")

Verification Status

✅ Payload structure verified in source code
✅ Matches expected schema (wallet, ID, device info)
⚠️ No formal schema documentation found in repository

Notes

  • The payload is sent to /epoch/enroll endpoint
  • Miner ID format: {device_type}-{hostname} (e.g., "ryzen5-myhostname")

Wallet for bounty: lustsazeus-lab

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