Proof of Work Checkpoint

Reason about compact-target shifts, precision loss, header bytes, and inclusive nonce search.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. Using the course unsigned decoder, what target does 0x021234ab represent?

Select one answer.

2. What is the canonical compact encoding of the positive target 0x8000?

Select one answer.

3. Encode then decode target 0x123456ff. Why is the result 0x12345600?

Select one answer.

4. Bits=0x207fffff is serialized into which four header bytes?

Select one answer.

5. Which input belongs in the second SHA-256 call of HashHeader?

Select one answer.

6. Mine scans from zero through maxNonce=6 inclusive. All candidates fail. How many hashes of candidate headers are tested? Enter one decimal integer.
7. An implementation tests n<=maxNonce in a uint32 loop. What prevents a failed search from cycling at maxNonce=2^32-1?

Select one answer.

8. A toy hash integer equals its decoded target. Which statement fits this exercise?

Select one answer.

Join Discord