Hello, World!
In this post I`d like to tell you about the CryptoNight algorithm and how to mine cryptocurrency Monero, Bytecoin etc. on this algorithm.
A little about the algorithm:
CryptoNight is a proof-of-work algorithm. It is designed to be suitable for ordinary PC CPUs, but currently no special purpose devices for mining are available. Therefore, CryptoNight can only be CPU-mined for the time being. CryptoNight was originally implemented in the CryptoNotecodebase.
CryptoNight relies on random access to the slow memory and emphasizes latency dependence. Each new block depends on all the previous blocks (unlike, for example, scrypt). The algorithm requires about 2 Mb per instance:
1. It fits in the L3 cache (per core) of modern processors.
2. A megabyte of internal memory is almost unacceptable for the modern ASICs.
3. GPUs may run hundreds of concurrent instances, but they are limited in other ways. GDDR5 memory is slower than the CPU L3 cache and remarkable for its bandwidth, not random access speed.
4. Significant expansion of the scratchpad would require an increase in iterations, which in turn implies an overall time increase. "Heavy" calls in a trustless p2p network may lead to serious vulnerabilities, because nodes are obliged to check every new block's proof-of-work. If a node spends a considerable amount of time on each hash evaluation, it can be easily DDoSed by a flood of fake objects with arbitrary work data (nonce values).
How to start mining?
1. You need a program for mining. Go to the link to the website Minergate.
2. Register on the website clicking "Sign up"
3. In the «Downloads» tab choose one of three options «GUI miners», «Console miners», «Admin edition» and download the program for mining. I recommend «GUI miners» tab for the beginners .
4. Install the program on your computer according to your operating system, run the program and enter your login and password.
5. Go to the "Miner" tab and choose the currency you want to mine. In "СPU cores" choose the number of processor cores that will work for mining.
I don’t recommend to load up all the cores, because the computer will work very slow.
You can also connect a video card to help the processor. My video card mines Ethereum, so I use only 2 cores of the CPU.
That’s all. The mining starts.
In the "Dashboard" tab on the website you will be able to see the indices of your mining.
You can withdraw your coins using the "Dashboard” tab on the website or using the program in the "Wallet" tab.
You will also receive fun rewards. Notifications can be disabled in the "Achievments" tab.
In the "Calculator" tab on the website you will be able to calculate the approximate number of coins that you mined on your hashrate.
I have a i5 3570K processor. It produces hashrate of about 60-100 H/s on 2 cores. The amount of mined coins is small, but I have only one computer. If you have several of them, then using all your computers for mining you can get a substantial hashrate and a lot of coins.
You can also earn something from an affiliate program on this website. In the "Affiliate program" tab you will get a link, which you can share with your friends, partners, acquaintances.
You can trade coins on the exchange (Poloniex or Hitbtc).
That's all I wanted to tell you about the CryptoNight algorithm and mining the coins.
In the end, a few links to sites Monero and Bytecoin.
I wish you good luck and big profits!