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

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

by 류정필, 송재준
November 2019
Beginner to intermediate
408 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 밑바닥부터 시작하는 비트코인
8
p2sh 스크립트
219
for _ in range(n):
sec_pubkeys.append(stack.pop())
m = decode_num(stack.pop())
if len(stack) < m + 1:
return False
der_signatures = []
for _ in range(m):
der_signatures.append(stack.pop()[:-1])
stack.pop()
try:
raise NotImplementedError
except (ValueError, SyntaxError):
return False
return True
DER
서명은 해시유형
SIGHASH
_
ALL
로 서명된 것으로 간주합니다.
off
-
by
-
one
버그와 같이 스택 위에서 원소 하나를 더 가져오고 아무 일도 하지 않습니다.
[연습문제
8
.
1
]에서 코딩해야 할 부분입니다.
연습문제
8 .1
op
.
py
파일의
op
_
checkmultisig
함수를 작성하시오.
8.3
다중서명의 문제점
다중서명은 동작은 하지만 비효율적입니다. 어쨌든
n
개 중
m
개의 서명만으로
UTXO
를 사용
할 수 있게 해서 비밀키 하나에 모든 비트코인을 보관하는 단일 실패 지점
single
point
of
failure
을 제
거합니다. 다중서명을 사용하게 하는 많은 유틸리티 ...
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