4 ms·
Mining is typically something like: Hash(nonce + Hash(chain[including with new transactions])) < value. So in some sense you need the chain but you can pass H
by eterm 9y ago
Mining is typically something like:
Hash(nonce + Hash(chain[including with new transactions])) < value.
So in some sense you need the chain but you can pass Hash(chain) to a client and let that just increase nonce and hash it.
Without synchronisation the found block might be for a stale chain but if you're using someone else's power you don't care, and the nature of distribution here means it's likely to be fresh anyway in the unlikely chance something is found.
- dmurray 9y agoFor anyone who was thinking, like me, "If that formula is correct, couldn't you precompute hashes and then subtract Hash(chain) to get the desired nonce", it's more like Hash(nonce + 2^256 * Hash(chain[including with new transactions])) < value Still an oversimplification, of course.