Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Output Descriptor
Search
shigeyuki azuchi
March 31, 2021
Technology
0
65
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
W-OTS+
azuchi
0
10
Shorのアルゴリズム
azuchi
0
29
DahLIAS: Discrete Logarithm-Based Interactive Aggregate Signatures
azuchi
0
22
Fiat-Shamir変換と注意点
azuchi
0
140
AssumeUTXOを利用したブロックチェーンの同期
azuchi
0
27
BIP-374 離散対数の等価性証明
azuchi
0
49
BIP-353 DNS Payment Instructions
azuchi
0
68
OP_CAT and Schnorr Trick
azuchi
0
66
Pay to Anchorと1P1Cリレー
azuchi
0
57
Other Decks in Technology
See All in Technology
親子 or ペアで Mashup for the Future! しゃべって楽しむ 初手AI駆動でものづくり体験
hiroramos4
PRO
0
120
AWSの資格って役に立つの?
tk3fftk
2
340
僕、S3 シンプルって名前だけど全然シンプルじゃありません よろしくお願いします
yama3133
1
220
OCI Security サービス 概要
oracle4engineer
PRO
2
13k
AIエージェント時代に備える AWS Organizations とアカウント設計
kossykinto
3
980
複数クラスタ運用と検索の高度化:ビズリーチにおけるElastic活用事例 / ElasticON Tokyo2026
visional_engineering_and_design
0
160
Google系サービスで文字起こしから勝手にカレンダーを埋めるエージェントを作った話
risatube
0
180
JAWSDAYS2026 [C02] 楽しく学ぼう!AWSとは?AWSの歴史 入門
hiragahh
0
160
内製AIチャットボットで学んだDatadog LLM Observability活用術
mkdev10
0
110
わたしがセキュアにAWSを使えるわけないじゃん、ムリムリ!(※ムリじゃなかった!?)
cmusudakeisuke
1
740
社内レビューは機能しているのか
matsuba
0
130
猫でもわかるKiro CLI(AI 駆動開発への道編)
kentapapa
0
210
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
90
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
190
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
470
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Embracing the Ebb and Flow
colly
88
5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The Spectacular Lies of Maps
axbom
PRO
1
620
The SEO Collaboration Effect
kristinabergwall1
0
390
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
240
RailsConf 2023
tenderlove
30
1.4k
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