작업 증명 (PoW)

채굴자가 연산 능력을 사용하여 네트워크를 보호하는 합의 알고리즘.

## Technical Deep Dive: The Hash Search

Miners iterate through values of a nonce to find a block hash that meets the network's difficulty target.

``python
while hash(block_data + nonce) > target:
nonce += 1
``

### Key Metrics
- Target: A 256-bit number. The lower the target, the harder it is to find a valid hash.
- Hashrate: Measured in hashes per second (H/s). Currently in the Exahash (EH/s) range for Bitcoin.
- Difficulty Adjustment: A periodic recalibration of the target to ensure consistent block intervals regardless of changes in total network hashrate.

        graph LR
  Center["작업 증명 (PoW)"]:::main
  Pre_consensus_mechanisms["consensus-mechanisms"]:::pre --> Center
  click Pre_consensus_mechanisms "/terms/consensus-mechanisms"
  Pre_hashing["hashing"]:::pre --> Center
  click Pre_hashing "/terms/hashing"
  Pre_cryptography["cryptography"]:::pre --> Center
  click Pre_cryptography "/terms/cryptography"
  Center --> Child_mining_crypto["mining-crypto"]:::child
  click Child_mining_crypto "/terms/mining-crypto"
  Center --> Child_asic["asic"]:::child
  click Child_asic "/terms/asic"
  Rel_proof_of_stake_pos["proof-of-stake-pos"]:::related -.-> Center
  click Rel_proof_of_stake_pos "/terms/proof-of-stake-pos"
  Rel_byzantine_fault_tolerance["byzantine-fault-tolerance"]:::related -.-> Center
  click Rel_byzantine_fault_tolerance "/terms/byzantine-fault-tolerance"
  Rel_proof_of_work["proof-of-work"]:::related -.-> Center
  click Rel_proof_of_work "/terms/proof-of-work"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 5살도 이해할 수 있게 설명

이야기하기 전에 어려운 숙제를 먼저 해야 하는 규칙과 같습니다. 나쁜 사람도 숙제를 해야 하므로 함부로 행동할 수 없습니다.

🤓 Expert Deep Dive

나카모토 컨센서스의 핵심으로, 51% 공격 비용을 높여 네트워크의 불변성을 보장합니다.

🔗 관련 용어

더 알아보기:

📚 출처