Equim-chan / cryptonight

:loop: Pure Go/ASM implementation of CryptoNight hash function with its variants, without any CGO binding.
MIT License
78 stars 10 forks source link

Monero Stratum protocol #2

Open phantomlsh opened 5 years ago

phantomlsh commented 5 years ago

I wonder how to perform the cryptonight calculation of Monero Stratum when mining, i.e., how to calculate the correct result from blob and nonce?

Equim-chan commented 5 years ago
copy(blob[39:39+4], nonce)
cryptonight.Sum(blob, 2)