經過源碼學習比特幣--難度目標與難度調整

隨着比特幣網絡算力指數級的增加,挖礦的難度也隨之增大,以保證每十分鐘生成一個區塊。web 難度目標: hashTarget = CBigNum().SetCompact(pblock->nBits).getuint256(); nBits每2016個區塊根據出塊速度調整一次,其計算函數以下:網絡 unsigned int GetNextWorkRequired(const CBlockIndex*
相關文章
相關標籤/搜索