Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Output Descriptor
Search
shigeyuki azuchi
March 31, 2021
Technology
0
61
Output Descriptor
GBECの解説動画の資料です。
https://goblockchain.network/2021/03/output-descriptor/
shigeyuki azuchi
March 31, 2021
Tweet
Share
More Decks by shigeyuki azuchi
See All by shigeyuki azuchi
Shorのアルゴリズム
azuchi
0
5
DahLIAS: Discrete Logarithm-Based Interactive Aggregate Signatures
azuchi
0
7
Fiat-Shamir変換と注意点
azuchi
0
92
AssumeUTXOを利用したブロックチェーンの同期
azuchi
0
19
BIP-374 離散対数の等価性証明
azuchi
0
35
BIP-353 DNS Payment Instructions
azuchi
0
54
OP_CAT and Schnorr Trick
azuchi
0
52
Pay to Anchorと1P1Cリレー
azuchi
0
49
プロアクティブ秘密分散法
azuchi
0
69
Other Decks in Technology
See All in Technology
AWS Trainium3 をちょっと身近に感じたい
bigmuramura
1
130
A Compass of Thought: Guiding the Future of Test Automation ( #jassttokai25 , #jassttokai )
teyamagu
PRO
1
250
因果AIへの招待
sshimizu2006
0
930
AWS re:Invent 2025で見たGrafana最新機能の紹介
hamadakoji
0
210
生成AIでテスト設計はどこまでできる? 「テスト粒度」を操るテーラリング術
shota_kusaba
0
600
生成AI時代の自動E2Eテスト運用とPlaywright実践知_引持力哉
legalontechnologies
PRO
0
210
ガバメントクラウド利用システムのライフサイクルについて
techniczna
0
190
regrowth_tokyo_2025_securityagent
hiashisan
0
190
非CUDAの悲哀 〜Claude Code と挑んだ image to 3D “Hunyuan3D”を EVO-X2(Ryzen AI Max+395)で動作させるチャレンジ〜
hawkymisc
1
160
研究開発×プロダクトマネジメントへの挑戦 / ly_mlpm_meetup
sansan_randd
0
100
AI時代の開発フローとともに気を付けたいこと
kkamegawa
0
2.6k
プロダクトマネージャーが押さえておくべき、ソフトウェア資産とAIエージェント投資効果 / pmconf2025
i35_267
2
590
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
94
Automating Front-end Workflow
addyosmani
1371
200k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Docker and Python
trallard
47
3.7k
Mobile First: as difficult as doing things right
swwweet
225
10k
Scaling GitHub
holman
464
140k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.2k
Typedesign – Prime Four
hannesfritz
42
2.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Transcript
Output Descriptor
1 Output Descriptorとは? Bitcoinのアウトプットスクリプト(scriptPubkey)を 人が理解しやすい文字列で表現する仕様 https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md (例)P2PKH • scriptPubkey:
OP_DUP OP_HASH160 H(<公開鍵>) OP_EQUAL OP_CHECKSIG • Output Descriptor: pkh(<公開鍵>) ※鍵だけでは、どのようなscriptPubkeyが構成されたか分からない (P2PKH、P2WPKH、P2SH-P2WPKH、マルチシグなど)
2 Output Descriptor function Output Descriptorの記述タイプ • pk(KEY) • pkh(KEY)
• wpkh(KEY) • combo(KEY) → P2PK, P2PKH, P2WPKH, P2SH-P2WPKH • multi(k, KEY1, …, KEYn) • sortedmult(k, KEY1, …, KEYn) • sh(SCRIPT) • wsh(SCRIPT) wsh(multi(2, KEY1, KEY2, KEY3)) • addr(アドレス) • raw(Hex SCRIPT)
3 Output Descriptor function • KEYの形式 ◦ Hexエンコードされた公開鍵 ◦ WIFエンコードされた秘密鍵
◦ 拡張公開鍵(xpub) ◦ 拡張秘密鍵(xprv) ◦ オプション ▪ xpub/xprvにはBIP-32の導出パス(/1/2, /1’, /1/*) xpub...gGDnw/1/2 ▪ Key Origin Information([master fingerprint/path]) [d34db33f/44'/0'/0']xpub...RcEL/1/2 masterからxpubを導出した際の情報を付与 • チェックサム オプションで、アルファベット8文字のチェックサムがSuffixに。
4 Output Descriptorの採用 • Bitcoin Core v0.21.0から試験的にOutput Descriptorを使ったウォレットDescriptor Walletをサポート。 ◦
createwallet RPCのdescriptorsオプションをtrueに。 ◦ Descriptor WalletのDBはSQLiteに。 • Bitcoin Core v0.21.0でサポートされているOutput Descriptor関連のRPC ◦ scantxoutset ◦ getdescriptorinfo ◦ deriveaddresses ◦ listunspent ◦ getaddressinfo ◦ importmulti ◦ generatetodescriptor ◦ utxoupdatepsbt ◦ createmultisig ◦ addmultisigiaddress