How it works
When a mining pool or miner requests a block template from the Fuego daemon (getblocktemplate), the daemon can embed a secondary chain’s merge-mining tag in the coinbase transaction. The miner works on this combined template. A solution that meets Fuego’s difficulty target is submitted to the Fuego daemon via submitblock. The same solution may also meet the difficulty target of the other chain, in which case it is submitted there too.
Because both chains share the same proof-of-work, merge mining adds no extra electricity cost or hardware requirement.
Prerequisites
- A fully synced
fuegoddaemon (the daemon must be at chain tip before blocks you submit will be accepted) - A compatible CryptoNote coin that supports merge mining
- Mining software or a pool that understands the CryptoNote merge-mining protocol
The
fuegod daemon must be fully synced before you start mining. Blocks submitted to an out-of-sync node will be rejected. Check sync status by running ./fuegod and watching the block height, or query the RPC endpoint: curl http://127.0.0.1:18180/getinfo.Miner flags
The Fuego standalone miner (miner) accepts the following flags:
| Flag | Description |
|---|---|
--address | The fire… address that receives block rewards |
--daemon-host | Hostname or IP of the fuegod RPC interface (default: 127.0.0.1) |
--daemon-rpc-port | RPC port of the fuegod daemon (default: 18180) |
--threads | Number of CPU threads to use for mining |
Setup
Start and sync the Fuego daemon
Launch Confirm sync is complete before proceeding:Look for
fuegod and wait for it to reach the current chain height. The sync process downloads the full blockchain, which may take time depending on your connection."synced": true or compare height and top_block_height in the response.Configure your pool or standalone miner
Point your merge-mining pool software at the Fuego daemon’s RPC endpoint. The two JSON-RPC methods your pool needs are:Get a block template:Submit a solved block:Configure your pool to call these endpoints at
http://<daemon-host>:18180/json_rpc.Start the Fuego miner (standalone mode)
If you are solo mining or testing without a pool, use the standalone miner binary:Adjust
--threads to match the number of logical CPU cores you want to dedicate. The miner will log accepted shares and any blocks found.Network parameters
| Parameter | Value |
|---|---|
| Block target | 480 seconds (~8 minutes) |
| P2P port | 10808 |
| RPC port | 18180 |
| Coinbase maturity | 60 blocks |