Skip to content

feat: TSS threshold signing (GG18) and DHT integration#1341

Open
bysomeone wants to merge 36 commits into33cn:masterfrom
bysomeone:feat-threshold-signature
Open

feat: TSS threshold signing (GG18) and DHT integration#1341
bysomeone wants to merge 36 commits into33cn:masterfrom
bysomeone:feat-threshold-signature

Conversation

@bysomeone
Copy link
Collaborator

Summary

Adds TSS (Threshold Signature Scheme) support using the GG18 protocol (DKG, signing, reshare), message routing over the DHT layer, and integration with the crypto/queue stack.

Changes

  • TSS core (system/crypto/tss/): Message routing with session ID, handler registration, peer manager (rank checks, session handling), DKG result types and serialization, state listener with Done() channel.
  • GG18 (system/crypto/tss/gg18/): Handlers for /gg18/dkg, /gg18/sign, /gg18/reshare; session management; API for DKG/sign/reshare and btcec conversion; unit and integration tests.
  • DHT: New protocol /chain33/tss/1.0 and handler for EventCryptoTssMsg in system/p2p/dht/protocol/tss/.
  • Crypto & queue: TSS handling in crypto client; EventCryptoTssMsg and related types; GetQueue on queue client (and mocks); TSS is gated by config (e.g. EnableTSS).

…ProcessReshare functions to use tss.DKGResult type
…ent and updating message structures to include session IDs
…agement, enhancing message logging, and updating DKG result conversion to include peer list
@bysomeone
Copy link
Collaborator Author

关于 ci-plugin Jenkins CI 任务

当前 PR 中触发的 ci-plugin Jenkins CI 服务是历史遗留配置,chain33 项目已不再使用。

问题原因

  1. Repository Webhooks 中可能残留旧的 Jenkins webhook URL
  2. Branch Protection Rules 中可能将 Jenkins status check 设为 required

建议解决方案

  1. 进入 GitHub 仓库 Settings → Webhooks

    • 查找并移除包含 ci-plugin 或 Jenkins 相关的旧 webhook
  2. 进入 Settings → Branches → Branch protection rules

    • 编辑主分支保护规则
    • Status checks 中移除 Jenkins 相关的 required check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant