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

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

by 류정필, 송재준
November 2019
Beginner to intermediate
408 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 밑바닥부터 시작하는 비트코인
밑바닥부터 시작하는 비트코인
178
➒ 만약 스택의 최상위 원소가 공 바이트 (
b
''
)이면 역시 스크립트 유효성 실패로
False
를 반
환합니다.
7
➓ 스크립트가 유효한 경우로
True
를 반환합니다.
CAUTION
_
해제/잠금 스크립트 분리 실행
여기서소개한결합스크립트의실행메서드는실제비트코인코어소프트웨어에서의실행메서드와실행
방법에차이가있습니다.실제는해제스크립트가잠금스크립트와분리되어실행됩니다.이는해제스크
립트가잠금스크립트실행에영향을주지않도록하기위해서입니다.
8
구체적으로모든해제스크립트명령어를실행한후스택위에원소가
0
이아닌지확인합니다.만약
0
이
아니라면잠금스크립트명령어를스크립트명령집합에넣고현재의스택상태에서잠금스크립트명령어
를실행합니다.만약스택위의원소가
0
이면검증실패로끝납니다.
6.7.2
스택 원소의 저장 형식
스택의 원소가 항상 같은 형태의 값이 아니라 어떤 때는
0
또는
1
과 같은
int
형 정수였다가 어
떤 때는
DER
서명이나
SEC
공개키와 같은
bytes
형 배열로 쓰입니다. 사실 모든 원소는
bytes
형 배열로 저장되고 어떤 오피코드에 대해서 필요한 경우
bytes
배열을 정수로 해석합니다. 예
를 들어,
1
은 스택에
b
'
01
'
바이트로,
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