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
밑바닥부터 시작하는 비트코인
밑바닥부터 시작하는 비트코인
250
부터 해시값이 더 작은 값임을 알 수 있습니다.
TG: 0000000000000000013ce9000000000000000000000000000000000000000000
ID: 0000000000000000007e9e4c586439b0cdbe13b1370bdd9435d76a644d047523
연습문제
9.9
helper
.
py
파일의
bits
_
to
_
target
함수를 작성하시오.
9.3.3
난이도
목푯값의 수치만으로는 이 값보다 작은 해시값을 얻는 것이 얼마나 어려운지 가늠하기가 쉽지
않습니다. 목푯값은 숫자이고 사람은 숫자의 자릿수가 길면 수의 크고 작음을 간파하는 것이
쉽지 않기 때문입니다.
180
비트 수는
190
비트 수보다 수천 배 더 작지만 이들이 목푯값이라고
할 때 많은 자릿수 때문에 해시값을 구하기 어려운 정도를 가늠하기 쉽지 않습니다.
서로 다른 목푯값을 쉽게 비교할 수 있도록 난이도
difficulty
라는 개념이 탄생했습니다. 난이도 목
푯값이 작다는 것은 해시값을 구하기 어려울 것이기에 난이도를 목푯값에 반비례하도록 정의
하면 서로 다른 난이도 사이의 비교가 쉬울 것입니다. 계산 수식은 다음과 같습니다.
4
difficulty
=
0xffff
×
256
0x1d
-
3
/
target
난이도를 계산하는 코드는 아래와 같습니다. ...
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