Directories
¶
| Path | Synopsis |
|---|---|
|
Package arbiter 是 007/008 的 Arbiter 角色 API:持有固定受约束 Signer, 完成"先完整验证并持久化托管证据、再独立重建交易与 digest 后签名"的 Prepare-before-Sign 编排,以及时间无关的 008 取回鉴权/托管验证与 Kind 11 两分支构造。
|
Package arbiter 是 007/008 的 Arbiter 角色 API:持有固定受约束 Signer, 完成"先完整验证并持久化托管证据、再独立重建交易与 digest 后签名"的 Prepare-before-Sign 编排,以及时间无关的 008 取回鉴权/托管验证与 Kind 11 两分支构造。 |
|
Kind 10/11 buyer custody retrieval under the unified wire model.
|
Kind 10/11 buyer custody retrieval under the unified wire model. |
|
demo
|
|
|
01_quote/01_build_quote
command
Command seller builds a signed BitFS 001 file quote.
|
Command seller builds a signed BitFS 001 file quote. |
|
01_quote/02_parse_quote
command
Command buyer parses and verifies a BitFS 001 file quote.
|
Command buyer parses and verifies a BitFS 001 file quote. |
|
02_pool_opening/0201_buyer_build_refund_request
command
0201 是开池流程的第一个买方动作。
|
0201 是开池流程的第一个买方动作。 |
|
02_pool_opening/0202_seller_accept_refund_request
command
0202 是开池流程的卖方接收动作。
|
0202 是开池流程的卖方接收动作。 |
|
02_pool_opening/0203_buyer_accept_refund_response
command
0203 是开池流程的第二个买方动作,也是买方建立完整池证据的边界。
|
0203 是开池流程的第二个买方动作,也是买方建立完整池证据的边界。 |
|
02_pool_opening/0204_buyer_build_funding_delivery
command
0204 是开池流程中公开完整 FundingTransactionRaw 的买方动作。
|
0204 是开池流程中公开完整 FundingTransactionRaw 的买方动作。 |
|
02_pool_opening/0205_seller_accept_funding_delivery
command
0205 是开池流程的卖方收尾动作。
|
0205 是开池流程的卖方收尾动作。 |
|
03_content_request/01_build_request
command
Command buyer builds a signed BitFS 003 content request.
|
Command buyer builds a signed BitFS 003 content request. |
|
04_content_delivery/01_deliver_content
command
Command seller delivers a content batch (BitFS 004).
|
Command seller delivers a content batch (BitFS 004). |
|
05_cumulative_payment/01_accept_payment
command
Command buyer and seller complete one cumulative payment (BitFS 003→004→005).
|
Command buyer and seller complete one cumulative payment (BitFS 003→004→005). |
|
06_pool_close/01_close_pool
command
Command buyer and seller perform an immediate pool close (BitFS 006).
|
Command buyer and seller perform an immediate pool close (BitFS 006). |
|
07_arbitration/01_arbitrate_payment
command
Command seller, arbiter complete an arbitrated payment (BitFS 007).
|
Command seller, arbiter complete an arbitrated payment (BitFS 007). |
|
08_arbitration_content_retrieval/01_retrieve_content
command
008 买方仲裁托管内容取回演示:Seller 与 Buyer 无法直连,但二者均能连接 Arbiter。
|
008 买方仲裁托管内容取回演示:Seller 与 Buyer 无法直连,但二者均能连接 Arbiter。 |
|
internal/demoenv
Package demoenv 负责加载各个 demo 共用的本地环境配置文件。
|
Package demoenv 负责加载各个 demo 共用的本地环境配置文件。 |
|
internal/fixture
Package fixture 提供结构稳定的内存 demo fixture。
|
Package fixture 提供结构稳定的内存 demo fixture。 |
|
internal/junglebus
Package junglebus 提供 demo 应用使用的轻量 JungleBus 客户端。
|
Package junglebus 提供 demo 应用使用的轻量 JungleBus 客户端。 |
|
internal/poolopening
Package poolopening 提供细粒度 002 开池 demo 共用的应用组装、交易辅助逻辑 和演示私有本地 checkpoint。
|
Package poolopening 提供细粒度 002 开池 demo 共用的应用组装、交易辅助逻辑 和演示私有本地 checkpoint。 |
|
docs
|
|
|
cddltool
Package cddltool implements a real parser and structural validator for the CDDL subset used by spec/v1/wire-messages.cddl.
|
Package cddltool implements a real parser and structural validator for the CDDL subset used by spec/v1/wire-messages.cddl. |
|
internal
|
|
|
refundlock
Package refundlock holds the pure nLockTime comparison rules for MultisigPool refund templates.
|
Package refundlock holds the pure nLockTime comparison rules for MultisigPool refund templates. |
|
Package pool contains the protocol-independent 2-of-3 settlement primitives used by 002, 005, and 006.
|
Package pool contains the protocol-independent 2-of-3 settlement primitives used by 002, 005, and 006. |
|
Package protocol 是仓库唯一的共享基础层:强类型值、显式外部事实 Facts、 受约束 Signer 端口、typed ID、固定签名域与统一错误模型。
|
Package protocol 是仓库唯一的共享基础层:强类型值、显式外部事实 Facts、 受约束 Signer 端口、typed ID、固定签名域与统一错误模型。 |
|
Package wire 是 Wire v1 的 exact Artifact 层与严格分派入口。
|
Package wire 是 Wire v1 的 exact Artifact 层与严格分派入口。 |
Click to show internal directories.
Click to hide internal directories.