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

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

by 류정필, 송재준
November 2019
Beginner to intermediate
408 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 밑바닥부터 시작하는 비트코인
13
장
세그윗
327
NOTE
_
아무나 세그윗 UTXO를 소비할 수 있는가?
세그윗비판자들은세그윗출력은아무나소비할수있다고우려했습니다.
6
비트코인네트워크가세그윗
업그레이드 노드와 업그레이드하지 않은노드로 분리되었다면 이러한우려는현실이 되었을 것입니다.
즉,경제적으로상당한양을처리하는비트코인채굴자들이세그윗검증을거부하여유효하지않은세그
윗트랜잭션도맹목적으로유효한트랜잭션으로처리했다면이러한비판은가능합니다.그러나세그윗의
장점에서비롯된다양한경제적인센티브때문에세그윗은네트워크에서활성화됐고많은노드들이빠르
게세그윗을지원하게됐습니다.우려했던세그윗노드와예전노드사이의네트워크분리는발생하지않
았습니다.이제는많은비트코인이세그윗출력에존재하고,대부분의노드가세그윗트랜잭션을소프트포
크규칙에따라검증하고있습니다.이제는자신있게세그윗비판자들의우려는기우였다고말할수있습
니다.
13.4
p2wpkh
와
p2sh
-
p2wpkh
코딩하기
가장 먼저 수정할 부분은
Tx
클래스입니다. 여기에서 트랜잭션이 세그윗 트랜잭션인지 아닌지
를 표시하도록 합니다.
class Tx:
command = b’tx’
def __init__(self, version, tx_ins,
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