Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mining docs #1684

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions guides-and-tutorials/run-a-miner/verify-miner.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# 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
$ 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: <redacted>
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.

Loading