Merge Mining
Merge mining is a process that allows miners to mine Virel and its fork simultaneously without compromising the security or efficiency of the primary blockchain. The Virel protocol leverages merge mining to enhance its network security, decentralization, and adoption by sharing the hashrate with future Virel forks.
Some Key Benefits of Merge Mining for Virel are:
-
Enhanced Security: By leveraging the hash power of larger blockchains, Virel benefits from increased network security and resistance to 51% attacks.
-
Decentralization: Merge mining encourages participation from a broader range of miners, promoting decentralization.
-
Cost Efficiency: Miners can earn rewards from both the primary and auxiliary blockchains without additional computational costs.
How to merge mine Virel
Suppose you have two nodes (must be compatible with Virel Merge Mining): virel-node
and examplecoin-node
.
Assuming examplecoin
’s stratum port is 444, start virel-node
using the following command:
./virel-node --slavechains-stratums 127.0.0.1:444 --mining-wallet YOUR_WALLET_ADDRESS
The examplecoin-node
must be running (no special command line flag is required for examplecoin).
You can then start mining directly from virel-node
(with the start_mining
command) or using a compatible mining software and make it connect to localhost:6312
.
Technical Implementation
Virel’s merge mining implementation is based upon Virel’s flexible Work Commitments structure.