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
밑바닥부터 시작하는 비트코인
7
장
트랜잭션 검증과 생성
201
NOTE
_
이차 해싱
앞서설명한단계별서명검증에서서명해시
z
를구하는방법은비효율적입니다.왜냐하면서명해시의계
산시간이
트랜잭션
입력수의제곱에비례해서증가하기
때문입니다.
이를
이차해싱문제
quadratic
hashing
problem
라고합니다.구체적으로말하면
z
를계산하기위해필요한
hash
256
해시함수는입력개수만큼호
출됩니다.그러나각호출시해시값을구하는시간은입력수에따라증가합니다.왜냐하면입력개수에
따라해시함수의입력으로들어가는메시지가커지기때문입니다.
이문제는지금까지블록에포함된가장큰트랜잭션을보면극명하게드러납니다.아래는이트랜잭션의
해시값(
txid
)입니다.
bb41a757f405890fb0f5856228e23b715702d714d59bf2b1feb70d8b2b4e3e08
이트랜잭션에는
5
,
569
개의입력과
1
개의출력이있습니다.서명해시계산에많은시간이필요해서각채
굴노드마다검증에
1
분이상걸렸다고합니다.
세그윗에서는(
13
장)서명해시를다르게구해이문제를해결했고자세한방법은
BIP
0143
에있습니다.
연습문제
7.1
Tx
클래스의
sig
_
hash
메서드를 작성하시오.
연습문제
7.
2
Tx
클래스의
verify
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