250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- evm
- express.js
- blockchain
- tailwindcss
- SSR
- Redux
- CSS
- middleware
- JavaScript
- typeScript
- REACT
- solidity
- 기준
- built in object
- Interface
- web
- Props
- HTML
- node.js
- nextJS
- concept
- API
- error
- hardhat
- Ethereum
- graphQL
- useState
- 삶
- bitcoin
- CLASS
Archives
- Today
- Total
ReasonJun
Bitcoin : Block Structure 본문
728x90
Block Structure (Size : 1MB)
Size | Field | Description |
4 bytes | Block Size | Size of Block |
80 bytes | Block Header | Block Header Info |
1 ~ 9 bytes | Transaction Counter | Number of transactions in the current block (0 ~ 3000) |
Variable | Transaction | Transaction list in Block |
Block Header Structure
Size | Field | Description |
4 bytes | Version | version info (95%^ => 2016 Block Upgrade) |
32 bytes | Previous Block Hash | Previous Block Header Hash |
32 bytes | Merkle Root | Hash Root of Transactions |
4 bytes | Timestamp | Block generation time (UNIX Epoch) |
4 bytes | Difficulty Target | Difficulty Level of PoW |
4 bytes | Nonce | Result of PoW |
Create Block
- Select Mempool (level db) Tx (average : 2000)
- Create Coinbase Tx (transaction for the revenue the block creator will receive)
- Compute Merkle Root
- Configure Block Header (version, previous block hash, Merkle Root, Timestamp, Difficulty (Difficulty changed based on 2016))
- Find Nonce
- Propagate Block
How to connect to Block
Why Bitcoin imposed a limit on block size?
This is due to the performance of Database Lock to process transactions.
This resulted in only about 2000 Tx per block. (3 to 7 tps)
Due to this block size limitation, miners have implemented ways to maximize transaction fees.
They only select transactions with high fees or small transaction data volumes.
As the number of Bitcoin users increased, the price of fees increased.
In 2017, a hard fork (Segwit) occurred.
728x90
'Blockchain > Bitcoin' 카테고리의 다른 글
Bitcoin : P2P Network (0) | 2023.09.17 |
---|---|
Bitcoin : gRPC vs HTTP API (0) | 2023.09.17 |
Bitcoin : Merkle Tree (0) | 2023.09.17 |
Bitcoin : ECDSA (Elliptic Curve Digital Signature Algorithm) (0) | 2023.09.17 |
Bitcoin : Cryptographic systems (RSA / ElGamal Encryption / Hash Encryption) (0) | 2023.09.17 |
Comments