Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
밑바닥부터 시작하는 비트코인
by
류정필
,
송재준
November 2019
Beginner to intermediate
408 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from
밑바닥부터 시작하는 비트코인
10
장
네트워킹
271
ffff001d
ffff001d
ffff001d
6ad8001d
28c4001d
71be001d
➊
작업증명이 올바른지 확인합니다.
➋
현재 블록이 직전 블록의 다음 블록인지 확인합니다.
➌
공식에 따라 계산한 비트값이 실제 적혀 있는 값과 동일한지 확인합니다.
➍
매
2016
블록마다 조정 기간이 되면 공식에 따라 새로운 비트값을 계산합니다.
➎
다음 조정 기간이 되었을 때 실제 걸린 시간
(
time
_
diff
)
을 계산하기 위해 필요한 현 블록
헤더의 타임스탬프를 저장합니다.
테스트넷의 난이도 조정 알고리즘은 메인넷과 다릅니다. 따라서 위 코드를 테스트넷에서 실행
하면 오류가 발생합니다. 테스트넷에서는 채굴이 어렵지 않도록 난이도 증가로
20
분 내에 작
업증명을 찾지 못하면 난이도가 다시
1
로 떨어집니다. 그러므로 블록 채굴이 쉽습니다. 이렇게
설정한 이유는 개발자가 비싼 채굴 장비 없이도 네트워크에서 블록 생성 테스트와 실험을 할
수 있도록 하기 위해서입니다. 소형
USB
채굴 장비를 통해서도 최소 난이도에서
1
분에 두서너
블록을 찾을 수 있습니다.
10.7
마치며
이 장에서 네트워크의 노드에 접속하고 핸드셰이크로 통신 링크를 형성했습니다. 형성된 링크
에서 원하는 블록 헤더를 요청하고, 내려받고, 입수한 블록 헤더가 작업증명 등 몇 가지
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
밑바닥부터 시작하는 딥러닝
사이토 고키
실리콘밸리 리더십
김정혜, 마이클 롭
마이크로서비스 아키텍처 구축(전면 개정판)
샘 뉴먼
머신러닝 시스템 설계
칩 후옌
Publisher Resources
ISBN: 9791162248294