Skip to Content
밑바닥부터 시작하는 비트코인
book

밑바닥부터 시작하는 비트코인

by 류정필, 송재준
November 2019
Beginner to intermediate
408 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 밑바닥부터 시작하는 비트코인
밑바닥부터 시작하는 비트코인
300
왼쪽 자식 노드의 해시값은 있지만 오른쪽이 없는 경우입니다. 이 경우에는 머클트리의 규
칙에 따라 왼쪽 노드 값을 오른쪽 값으로 대치하여 해시값을 구합니다.
hashes
필드의 모든 해시값을 모두 사용했는지 조사합니다. 그렇지 않았다면 데이터에
오류가 있다는 뜻입니다.
모든 플래그 비트들이 사용되지 않았다면 역시 데이터에 오류가 있다는 뜻입니다.
연습문제
11.7
MerkleBlock
클래스의
is
_
valid
메서드를 작성하시오.
11.9
마치며
단순 지급 검증은 유용하지만 몇 가지 중요한 단점이 있습니다. 실제 대부분의 라이트 노드 지
갑은 구현이 간단함에도 불구하고 단순 지급 검증을 사용하지 않습니다. 대신 지갑 업체 자체
서버의 데이터를 활용합니다. 단순 지급 검증의 가장 큰 단점은 라이트 노드에게 포함증거를
보내주는 풀 노드가 라이트 노드의 관심 트랜잭션을 알게 된다는 것입니다. 즉, 트랜잭션에 들
어 있는 사용자의 계정 정보가 알려지게 됩니다. 라이트 노드는 자신이 관심 있는 트랜잭션을
풀 노드에 알려줄 때 블룸 필터를 사용하여 이러한 트랜잭션 공개 문제를 완화시킬 수 있습니
다. 자세한 내용은
12
장에서 다루겠습니다.
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

밑바닥부터 시작하는 딥러닝

밑바닥부터 시작하는 딥러닝

사이토 고키
견고한 데이터 엔지니어링

견고한 데이터 엔지니어링

조 라이스, 맷 하우슬리
실리콘밸리 리더십

실리콘밸리 리더십

김정혜, 마이클 롭

Publisher Resources

ISBN: 9791162248294