This is the first article of the world for digital currency algorithm and mining analysis of the HCash (Super Cash). This is the first article of the world for digital currency algorithm and mining analysis of the HCash (Super Cash).

It involves many source codes analysis, the friends who more concern about the conclusions can be direct to jump to the bottom page.

2017-9-9, Hcash (super cash) official website (https://h.cash) released the latest wallet version (2.1.0.0), and announced in the 106,000 block, it achieved hard bifurcation, and smooth upgraded to achieve POW + POS hybrid mining. Please consult the official announcement. (https://h.cash/zh-cn/display/128).

According to the Hcash latest source codes (https://github.com/HcashOrg/Hshare), this article makes a deep research for analysis of Hcash (super cash) mining trends and miners mining guidance.

________________________________________

Official Announcement Description:

Today (September 8, 2017), Hcash's main chain of the first hard bifurcation upgrade has been fully prepared to achieve Hcash's first important feature - POW + POS hybrid mining. Hcash will implement a hard bifurcation upgrade at the block height of the current backbone of 106000.

After the upgrade, it will be:

1、 Using POW + POS hybrid mining model, the two models each received half of the proceeds.

2、 At the beginning of each block to obtain 1.6HSR income, decreasing year by year, each year the yield of each block decreased by 0.016HSR for 100 years.

View the block version definition from the source code: *src / chainparams.cppn*

HeightV1enable = 106000;

nLastPOWBlockV1 = 52560000;

nLastPOWBlockV0 = 1000;

That is, Hcash will be divided into V0, V1, Vc, Vf four versions. The specific definition is as follows:

Block height version definition

0 ~ 1000 V0

1000 ~ 106000 Vc (for the current version to upgrade to V1)

106000 ~ 52560000 V1 (has been defined can be POW and POS mixed mining version)

>52560000 Vf (after V1 version)

**As of the time (2017-9-12 10:15), the current block height is 105216.**

View the block bonus definition from the source src / main.cpp.

if (Params().IsVersionV1(pindexBest->nHeight + 1)){

if(pindexBest->nHeight < 52560000) {return 1.6 * COIN - 0.016 * COIN * ( pindexBest->nHeight / 525600 ) + nFees;}

else {return nFees;}

}else{

if(pindexBest->nHeight < nStakeMinConfirmations){return GLOBAL_MONEY*COIN/nStakeMinConfirmations +nFees;}

else {return nFees;}

}

*nStakeMinConfirmations* is defined the value:

int nStakeMinConfirmations = 50;

Conclusion: The first 50 blocks reward another count (naturally the official in control), Vc version of the block reward only contains the sum of the transaction fee . V1 version of the block income of 1.6hsr down 0.016HSR by block, according to the official description it will continue for 100 years, then we can reverse each block time:

52560000/100/365/24/60 = 1 minute

That is, one block per minute, 1440 blocks per day, starting from 106,000 blocks, then 10600 pieces of reward for the 1.596773212hsr, the first day of the total block reward is about 2299hsr + block containing the sum of the transaction fee around.

**The POW and POS allocation issues are described in the official white paper as follows:**

After the 106000 block, each block determined by the POW model is to determine the attribution of the miners, and then converted to POS mode for signature. After a group of the authenticators’ Signatures of the block are confirmed, the block will be confirmed too. Finished this, the block contains the fee will be assigned to the discovery Fast miners and all those who sign the signature. Block rewards are equally assigned to POW miners and all identifiers of POS (50% each).

**Conclusion: Starting from the 106,000 block, 1440 blocks per day, each award is 1.60hsr (block-by-block falling) + fee, 50% of bonus is allocated to miners (0.80 or less), and 50% to all appraisers who participate in POS. The total amount of daily issuance is about 2299 (each attenuation).**

The following issues of earnings are miners' caring for:

From the above conclusion, it is not difficult to see that all POW miners can get the total profit not more than 1149hsr per day (this figure is really small). The unit of force * (total / total force) can be obtained the income per unit. Of course, the total force is closely related to the currency price, we can expect the total force of the Hcash from reversing the mining income of ETH.

According to the current difficulty, a 1060 6g 6 graphics mining machine (calculated as a unit) ETH earnings per day: 0.0243eth (http://whattomine.com 2017-9-12 data), according to the current domestic market price of 1900 yuan (chbtc 2017 -9-12 12:00), that is, the unit output is about 46.17 yuan. According to Hcash market price of 82.08 yuan (chbtc 2017-9-12 12:00), received 46.17 yuan output, a mining machine need to dig 0.5625 hsr can be flat.

According to the total Hcash POW 1149 of the first day, and assuming that miners’ incomes of eth and hsr are flat, then calculate the total force. It is demanded for 1149 / 0.5625 = 2042 unit.

**Conclusion: if eth miners participate in hcash mining, assuming that eth and hsr’s exchange relationship unchanged, then the total force <2042 miner units (1060 * 6 miners) miners income is greater than dig eth.**

Finally, we look at our mining methods:

If the mining algorithm is supported by the commercial asic mine, the total force will be greatly improved, and the mining will be concentrated in the hands of the asic mine. On the contrary, mining will be dispersed in the hands of GPU mines. In fact, I was shocked when I saw the source code at first.

*src / hash.h* function defined as follows:

inline uint256 HashX13 (const T1 pbegin, const T1 pend)

**X13**, the world coin machine support algorithm, continue to view the source code src / hash.h:inline uint256 HashX14 (const T1 pbegin, const T1 pend)

Continue *src / main.cpp:*

if (Params (). IsVersionV1 (nBestHeight)) {

return HashX14 (BEGIN (nVersion), END (nNonce));

} else {

return HashX13 (BEGIN (nVersion), END (nNonce));

}

V1 block version of the algorithm is **X14**, other versions are **X13**, it is also the world coin machine, and nothing with the graphics card.

Continue *src / main.cpp* (specific code is too long, not posted):

There is a difference between the HashX14 function and the standard X14Hash function. The hcash x14 function is replaced by the sph_sm3 () algorithm at the 12th operation, and the standard X14 function is the sph_hamsi512 () algorithm.

Found that the mainstream n card ccminer (https://github.com/tpruvot/ccminer) mining software of the current version 2.2.1 didn’t support hcash the X14 algorithm. Take the time we will find out other available mining software algorithm support situations.

**Conclusion: HCash uses a variant X14 hash algorithm. This algorithm can’t support for the algorithm of mining software and mining. Miners may need to use the official cpu mining model for solo mining.**

**All conclusions are summarized as follows:**

**• Starting from the106,000 block, 1440 blocks per day, each award is 60hsr (block-by-block falling) + fee, 50% of bonus is allocated to miners (0.80 or less) and 50% to all appraisers who participate in POS. The total amount is about 2299 (each attenuation). **

**• eth miners participate in hcash mining, assuming that eth and hsr exchange relationship unchanged, then the total force <2042 miner units (1060 * 6 miner machine) miners income is greater than dig eth. **

**• HCash uses a variant X14 hash algorithm, This algorithm can’t support for the algorithm of mining software and mining. Miners may need to use the official cpu mining model for solo mining. (Do not rule out the arrival of the coinizer to support the algorithm)**

**In addition:**

• Recommend our website: Nova information - Global emerging digital assets (block chain assets) Information platform | Global emerging digital assets (block chain assets) Information platform

(Iridium (IRD)) (IntenseCoin (itns) pool) are long-term operation, the world's top three of the pool

• We will release the new hcash pool (http://hcash.globalpool.cc) after 2017-9-13. Please pay attention to the latest announcement of our website, it will immediately launch a complete Hcash (super cash) mining tutorial.

**版权声明：**本文著作权归原作者所有，欢迎分享本文，谢谢支持！

**转载请注明：**Hcash Wealth Guide –Deep Interpretation | 新星资讯-全球新兴数字资产（区块链资产）资讯平台

**分类：**大咖点评

**标签：**