Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Zero-conf Channel(Turbo Channel)
Search
shigeyuki azuchi
August 17, 2022
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Zero-conf Channel(Turbo Channel)
GBECの解説動画の資料です。
https://goblockchain.network/2022/08/zeroconf-channel/
shigeyuki azuchi
August 17, 2022
More Decks by shigeyuki azuchi
See All by shigeyuki azuchi
SLH-DSA (SPHINCS+)
azuchi
0
12
Hyper Tree
azuchi
0
18
FORS
azuchi
0
31
クラスターmempool
azuchi
0
43
W-OTS+
azuchi
0
50
Shorのアルゴリズム
azuchi
0
71
DahLIAS: Discrete Logarithm-Based Interactive Aggregate Signatures
azuchi
0
55
Fiat-Shamir変換と注意点
azuchi
0
260
AssumeUTXOを利用したブロックチェーンの同期
azuchi
0
69
Other Decks in Technology
See All in Technology
データ_AIの事業の勝敗をわけるもの
nek0128
1
480
特殊変数大全
dak2
0
120
ほんとうの信頼性はヒーローが死んでからはじまる / True reliability begins after the hero dies
vtryo
0
120
おい、エージェントを使って終わらせろ
nwiizo
3
900
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
1.6k
なぜ「決定性」が 決定的に重要なのか? Durable Execution 基盤の数理的理解 #serverlessjp / ServerlessDays Tokyo 2026
ytaka23
3
1.2k
What the customer really needed
kawaguti
PRO
3
220
GoのInterface内部構造から学ぶ!最高パフォーマンスを出すコード設計
yappli_developers
1
280
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
6
730
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
5
720
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
2
290
認知負荷を吸収し、プロダクトをまたぐPR Preview基盤の設計事例
taiki45
2
130
Featured
See All Featured
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
250
Claude Code のすすめ
schroneko
67
230k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
510
How to Think Like a Performance Engineer
csswizardry
28
2.8k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Prompt Engineering for Job Search
mfonobong
0
460
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Faster Mobile Websites
deanohume
310
32k
The Spectacular Lies of Maps
axbom
PRO
1
1k
Building AI with AI
inesmontani
PRO
1
1.2k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3k
Transcript
Zero-conf Channel (Turbo Channel)
1 Zero-conf Channelとは? Zero-conf Channel(旧Turbo Channel)は、チャネル開設者(初期資金提供者)が 初期資金の一部またはすべてを受信者に提供するシングル・ファンドチャネル。 ファンディング・トランザクションが承認される前からすぐに利用可能。
• カストディアルな取引所からBTCをLNのチャネル開設で引き出し • LNのインバウンドキャパシティを購入 ※ Bitcoin Optechから引用
2 Zero-conf Channelは安全なのか? • アリスの観点: 未承認チャネルのオフチェーン資金は、承認されまで確実に自分の資金ではないが、 そのオフチェーン資金を使用するのにアリスにリスクはない。 ◦
ファンディング・トランザクションが mempoolから削除されると? ▪ チャネルに残っているアリスの残高が利用不可能になる。 ▪ 残高分の取り扱いについて、ボブとの調整が必要になることも。 • ボブの観点: ボブ自身がチャネル開設者であるため、自分で自分を裏切らない限り ボブが資金を失うことにはならない。 ◦ ファンディング・トランザクションが mempoolから削除されると? ▪ ボブはキャロルへのルーティング支払い分チャネル残高が減る ▪ チャネル開設に伴うアリスからの債権は残っているので、それを相殺する? • CPFPにより手数料を引き上げ、ファンディング・トランザクションの承認を促すことも。
3 Channel Identifier Lightning Networkでチャネルを識別するために使用される2種類のチャネル識別子( Channel ID) •
通常のチャネル識別子( Channel ID) Funding TxのTXIDとFuding Txのアウトプットのインデックスの排他的論理和で計算される 32バイトの識別子 Channel ID = funding_txid XOR funding_output_index https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#definition-of-channel_id • Short Channel ID(SCID) ※チャネル開設後に使用されるID Channel IDをコンパクトにした8バイトの識別子で、以下の要素で構成される ◦ トランザクションが格納されたブロック高( 3バイト) ◦ ブロック内のトランザクションのインデックス( 3バイト) ◦ Funding Outputのインデックス(2バイト) https://github.com/lightning/bolts/blob/master/07-routing-gossip.md#definition-of-short_channel_id これもSCID(uint64整数) (690377 << 40) + (1716 << 16) + 1
4 SCID Aliasの導入 ※ Zero-conf Channelは、Funding Txが承認される前から使用可能なチャネルなので、 Short Channel
IDをそのまま利用できない • Short Channel ID Aliasの導入 https://github.com/lightning/bolts/pull/910 funding_locked→channel_readyに変更 • チャネルタイプoption_zeroconfの導入 両ノードが任意のSCIDを設定できるエイリアス機能を追加