Candidate blocks and transactions
Mining software builds or receives a candidate block containing valid transactions and required metadata. Changing a nonce or other permitted field changes the hash, so the miner can test a new candidate many times.
01
Proof, target and difficulty
A result is valid only when it satisfies the network target. Difficulty expresses how demanding that target is and may change according to a published adjustment rule. A hash is quick to verify even when finding one required substantial work.
02