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

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

by 류정필, 송재준
November 2019
Beginner to intermediate
408 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 밑바닥부터 시작하는 비트코인
밑바닥부터 시작하는 비트코인
346
➍ 증인 스크립트는 증인필드의 가장 마지막 항목입니다.
➎ 증인 스크립트의
sha256
해시값과 스택에서 꺼낸 해시값과 비교합니다. 만약 두 값이 같
다면 유효한 증인 스크립트라는 의미입니다.
➏ 증인 스크립트의 파싱 결과를 스크립트 명령집합에 추가합니다.
13.8
기타 개선 사항
세그윗은 또한 서명해시를 다르게 계산하여 이차 해싱 문제를 해결합니다. 각 입력의 서명
을 생성할 때마다 서명해시
z
를 처음부터 계산하지 않고 이전의 많은 계산 결과를 재사용하
여 계산할 수 있습니다.
10
서명해시 계산 방법은
BIP0143
에 자세히 있으며 라이브러리에서는
code
-
ch13
/
tx
.
py
에서 볼 수 있습니다.
11
또 다른 개선점으로 비압축
SEC
공개키 사용을 정책으로 금지한다는 것입니다. 압축
SEC
공
개키만 세그윗에서 사용하어 저장 공간을 절약합니다.
12
13.9
마치며
이 장에서는 현재 활성화된 기능 위주로 세그윗의 세부 사항을 살펴봤습니다.
14
장은 비트코
인 개발자로서 역량을 높일 수 있는 여러 주제에 대해 살펴봅니다.
10
세그윗에서는 각 입력 서명해시를 계산하는 해시함수의 입력값 길이가
120
바이트로 일정하다. 세그윗 이전에는 이 입력값 길이가 입력
의 개수에 따라 증가했다. 따라서 서명해시의 계산 시간이 개수의 제곱으로 증가했지만 ...
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