From e0db9b34b95cdbb5d90b8c6985e4e6e763dcaac6 Mon Sep 17 00:00:00 2001 From: Friedger Date: Mon, 16 Dec 2024 18:06:33 +0100 Subject: [PATCH] Update verify-miner.md --- guides-and-tutorials/run-a-miner/verify-miner.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/guides-and-tutorials/run-a-miner/verify-miner.md b/guides-and-tutorials/run-a-miner/verify-miner.md index f1286690b5..94e703a387 100644 --- a/guides-and-tutorials/run-a-miner/verify-miner.md +++ b/guides-and-tutorials/run-a-miner/verify-miner.md @@ -1,5 +1,6 @@ # Verify Miner +## Verify Configuration You can verify that your node is operating as a miner by checking its log output to verify that it was able to find its Bitcoin UTXOs: ```bash @@ -7,3 +8,11 @@ $ head -n 1000 /path/to/your/node/logs | grep -i utxo INFO [1630127492.031042] [testnet/stacks-node/src/run_loop/neon.rs:146] [main] Miner node: checking UTXOs at address: INFO [1630127492.062652] [testnet/stacks-node/src/run_loop/neon.rs:164] [main] UTXOs found - will run as a Miner node ``` + +## Verify Operations +The first transaction of the miner is a registration transaction on Bitcoin. It just contains an `OP_RETURN` utxo. + +Thereafter, the miner creates for each block one transaction on Bitcoin with one date output, and two commit outputs to the stackers. The amount is half the value of the configured `burn_fee_cap` property. + +If the miner won a sortition, the corresponding Stacks address will create a tenure change transaction and a coinbase transaction. The block rewards will be awarded 100 blocks later if mining was successful. +