블록

체인의 한 단위를 형성하는 트랜잭션 컨테이너.

Blocks are the 'pages' of the blockchain ledger. Each block contains a bundle of verified transactions, a timestamp, a reference to the previous block (Parent Hash), and a solution to a cryptographic puzzle (in Proof of Work) or a validator's signature (in Proof of Stake). This chaining mechanism ensures that to modify an old block, you would have to redo the work for all subsequent blocks, making the history immutable.

        graph LR
  Center["블록"]:::main
  Pre_transaction["transaction"]:::pre --> Center
  click Pre_transaction "/terms/transaction"
  Pre_hashing["hashing"]:::pre --> Center
  click Pre_hashing "/terms/hashing"
  Pre_merkle_tree["merkle-tree"]:::pre --> Center
  click Pre_merkle_tree "/terms/merkle-tree"
  Rel_blockchain["blockchain"]:::related -.-> Center
  click Rel_blockchain "/terms/blockchain"
  Rel_mining["mining"]:::related -.-> Center
  click Rel_mining "/terms/mining"
  Rel_consensus_mechanism["consensus-mechanism"]:::related -.-> Center
  click Rel_consensus_mechanism "/terms/consensus-mechanism"
  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

## 전문가 심층 분석: 블록

분산 원장 기술에서 블록은 검증된 트랜잭션 배치(batch)를 포함하는 암호학적으로 보안 처리되고 불변하는 데이터 구조입니다. 블록의 근본적인 역할은 블록체인 내에서 순차적인 단위로 작용하여 원장 항목의 무결성과 연대기적 순서를 보장하는 것입니다. 각 블록은 암호학적 해시를 통해 이전 블록에 본질적으로 연결되어 체인을 형성합니다. 이러한 연결은 블록의 내부 구조와 함께 불변성을 확립합니다. 이전 블록의 어떤 변경도 후속 블록 전체를 무효화합니다.

블록은 일반적으로 블록 헤더트랜잭션 데이터로 구성됩니다. 헤더는 검증 및 체인 연결에 중요하며, 이전 블록의 해시, 타임스탬프, 논스(작업증명 시스템의 경우), 머클 루트와 같은 메타데이터를 포함합니다. 블록 내 모든 트랜잭션의 암호학적 요약인 머클 루트는 트랜잭션 포함 여부를 효율적으로 검증할 수 있게 합니다. 트랜잭션 데이터 섹션에는 실제 확인된 트랜잭션이 포함됩니다.

블록 생성 및 포함은 합의 메커니즘(예: 작업증명, 지분증명)에 의해 관리되며, 이는 네트워크 참여자에 의한 블록 생성 및 검증 규칙을 결정합니다. 엄격한 검증은 해시 난이도 목표 충족, 트랜잭션 유효성, 이전 블록 해시의 올바른 참조를 보장합니다. 블록 크기 제한은 네트워크 전파 및 혼잡을 관리하기 위해 부과됩니다. 많은 시스템에서 블록 생성자는 블록 보상 및 트랜잭션 수수료를 통해 인센티브를 받습니다. 또한, 스마트 계약을 지원하는 시스템에서 블록은 상태 전환을 나타내며, 포함된 트랜잭션 실행을 통해 원장의 전역 상태를 업데이트합니다.

🔗 관련 용어

📚 출처