ethereum / ethereumj

DEPRECATED! Java implementation of the Ethereum yellowpaper. For JSON-RPC and other client features check Ethereum Harmony
GNU Lesser General Public License v3.0
2.18k stars 1.09k forks source link

Fix the difficulty judgment logic of PoW. #1287

Open feiqihang opened 5 years ago

feiqihang commented 5 years ago

According to the agreement in the yellow book, it should be: n <= (2^256) / difficulty. image