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:
$ 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.
Last updated
Was this helpful?