Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Miner Performance

Cahl-Dee edited this page Oct 31, 2019 · 6 revisions

Performance Reporting

PegNet has a few options that will allow you to track the performance of your miner in comparison to the rest of the community.

Note that if you want to track your PEG balance, you will need to install pegnetd then execute the balance command

Detailed Performance

To check your detailed performance, you can use the performance command.

pegnet performance IDENTITY --start 0

# Recommend piping through jq

pegnet performance IDENTITY --start 0 | jq

# For the past 100 blocks

pegnet performance prototype --end -100 | jq

After running this, you’ll receive a response with the following details:

block_range Tells you which block range you’re getting results from.

difficulty_placements Describes your performance on the hashing challenge. Each number tell you how many times you appeared at least that high in the overall rank among miners. For example, the value next to 25 tells you how many times you were in the top 25 miners by hash value. The count value is the total number of submissions represented.

grading_placements Describes your performance in the median challenge in cases where you were selected in the top 50. Each number tell you how many times you appeared at least that high in the overall rank among miners. For example, the value next to 25 tells you how many times you were in the top 25 miners by median selection. The count value tells you the total number of submission represented.

rewards Tells you the total amount of PNT awarded to the miner during the period that is being tracked.

submissions Tells you the total number of submissions made during the period tracked. Performance Response Example

{
    "result": {
        "block_range": {
            "end": 10691,
            "start": 0
        },
        "difficulty_placements": {
            "1": 12,
            "5": 36,
            "10": 66,
            "25": 91,
            "50": 91,
            "count": 91,
            "sum": 760
        },
        "grading_placements": {
            "1": 6,
            "2": 12,
            "3": 18,
            "4": 24,
            "5": 30,
            "6": 36,
            "7": 42,
            "8": 48,
            "9": 54,
            "10": 60,
            "11": 66,
            "12": 72,
            "13": 77,
            "14": 81,
            "15": 85,
            "16": 86,
            "17": 87,
            "18": 88,
            "19": 89,
            "20": 90,
            "21": 91,
            "22": 91,
            "23": 91,
            "24": 91,
            "25": 91,
            "26": 91,
            "27": 91,
            "28": 91,
            "29": 91,
            "30": 91,
            "31": 91,
            "32": 91,
            "33": 91,
            "34": 91,
            "35": 91,
            "36": 91,
            "37": 91,
            "38": 91,
            "39": 91,
            "40": 91,
            "41": 91,
            "42": 91,
            "43": 91,
            "44": 91,
            "45": 91,
            "46": 91,
            "47": 91,
            "48": 91,
            "49": 91,
            "50": 91,
            "count": 91,
            "sum": 760
        },
        "rewards": 3000000000000,
        "submissions": 91
    },
    "error": null
}

Previous Begining Next
Running Pegnet Miner Mining
Clone this wiki locally