Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/339-Labs/wallet-platform-mpc-go
/ functions
Functions
261 in github.com/339-Labs/wallet-platform-mpc-go
⨍
Functions
261
◇
Types & classes
64
↓ 1 callers
Function
NewResharingManager
NewResharingManager 创建重分享管理器
internal/tss/resharing.go:95
↓ 1 callers
Function
NewServer
NewServer 创建API服务器
internal/api/server.go:29
↓ 1 callers
Function
NewSessionRepository
NewSessionRepository 创建会话存储库
internal/storage/session_repo.go:19
↓ 1 callers
Function
NewSigningManager
NewSigningManager 创建签名管理器
internal/tss/signing.go:84
↓ 1 callers
Function
NewStorage
NewStorage 创建新的存储实例
internal/storage/leveldb.go:31
↓ 1 callers
Function
NewWalletRepository
NewWalletRepository 创建钱包存储库
internal/storage/wallet_repo.go:19
↓ 1 callers
Method
PeerChan
PeerChan 获取节点发现通知通道
internal/p2p/discovery.go:282
↓ 1 callers
Function
PublicKeyToAddress
PublicKeyToAddress 从公钥获取以太坊地址
internal/tss/party.go:121
↓ 1 callers
Method
Put
Put 存储键值对
internal/storage/leveldb.go:57
↓ 1 callers
Method
Put
Put 批量添加
internal/storage/leveldb.go:152
↓ 1 callers
Method
RefreshKeyShares
RefreshKeyShares 刷新密钥分片(不改变参与方和阈值)
internal/wallet/manager.go:442
↓ 1 callers
Method
SignMessage
SignMessage 签名消息
internal/wallet/manager.go:186
↓ 1 callers
Method
SignTransaction
SignTransaction 签名交易
internal/wallet/manager.go:252
↓ 1 callers
Function
SignatureToBytes
SignatureToBytes 签名转字节
internal/tss/party.go:225
↓ 1 callers
Method
Start
Start 启动消息管理器
internal/p2p/message.go:77
↓ 1 callers
Method
Start
Start 启动P2P服务
internal/p2p/host.go:191
↓ 1 callers
Method
Start
Start 启动发现服务
internal/p2p/discovery.go:165
↓ 1 callers
Method
Start
Start 启动服务器
internal/api/server.go:108
↓ 1 callers
Method
StartKeygen
StartKeygen 开始密钥生成(兼容旧接口,内部调用 PrepareKeygen + Start)
internal/tss/keygen.go:101
↓ 1 callers
Method
StartResharing
StartResharing 开始密钥重分享
internal/tss/resharing.go:116
↓ 1 callers
Method
Stop
Stop 停止节点管理器
internal/p2p/node.go:119
↓ 1 callers
Method
Stop
Stop 停止PubSub服务
internal/p2p/pubsub.go:124
↓ 1 callers
Method
Stop
Stop 停止P2P服务
internal/p2p/host.go:230
↓ 1 callers
Method
Stop
Stop 停止发现服务
internal/p2p/discovery.go:176
↓ 1 callers
Method
Stop
Stop 停止服务器
internal/api/server.go:128
↓ 1 callers
Method
Unsubscribe
Unsubscribe 取消订阅
internal/p2p/pubsub.go:176
↓ 1 callers
Function
authMiddleware
认证中间件
internal/api/server.go:167
↓ 1 callers
Method
checkNodeStatus
checkNodeStatus 检查节点状态
internal/p2p/node.go:301
↓ 1 callers
Function
corsMiddleware
CORS中间件
internal/api/server.go:151
↓ 1 callers
Method
decrypt
decrypt 解密数据
internal/storage/keyshare_repo.go:176
↓ 1 callers
Method
dhtDiscoveryLoop
dhtDiscoveryLoop DHT发现循环
internal/p2p/discovery.go:198
↓ 1 callers
Method
encrypt
encrypt 加密数据
internal/storage/keyshare_repo.go:156
↓ 1 callers
Method
handleDiscoveredPeers
handleDiscoveredPeers 处理发现的节点
internal/p2p/host.go:472
↓ 1 callers
Method
handleMessage
handleMessage 处理消息
internal/p2p/pubsub.go:298
↓ 1 callers
Method
handleMessage
handleMessage 处理收到的消息
internal/tss/resharing.go:490
↓ 1 callers
Method
handleMessage
handleMessage 处理收到的消息
internal/tss/signing.go:373
↓ 1 callers
Method
handleMessage
handleMessage 处理收到的消息
internal/tss/keygen.go:361
↓ 1 callers
Method
handleMessages
handleMessages 处理消息
internal/p2p/host.go:438
↓ 1 callers
Method
handlePubSubMessages
handlePubSubMessages 处理PubSub消息
internal/p2p/host.go:449
↓ 1 callers
Method
handleSuccess
handleSuccess 处理成功
internal/tss/resharing.go:543
↓ 1 callers
Method
handleSuccess
handleSuccess 处理成功
internal/tss/signing.go:410
↓ 1 callers
Method
handleSuccess
handleSuccess 处理成功
internal/tss/keygen.go:398
↓ 1 callers
Method
heartbeatLoop
heartbeatLoop 心跳循环
internal/p2p/pubsub.go:311
↓ 1 callers
Method
initDHT
initDHT 初始化Kademlia DHT
internal/p2p/discovery.go:95
↓ 1 callers
Method
initMDNS
initMDNS 初始化mDNS发现(本地网络)
internal/p2p/discovery.go:136
↓ 1 callers
Function
loadOrGenerateKey
loadOrGenerateKey 加载或生成密钥
internal/p2p/host.go:516
↓ 1 callers
Method
messageLoop
messageLoop 消息循环
internal/p2p/message.go:196
↓ 1 callers
Method
nodeStatusLoop
nodeStatusLoop 节点状态检查循环
internal/p2p/node.go:286
↓ 1 callers
Method
onPeerConnected
onPeerConnected 节点连接处理
internal/p2p/host.go:491
↓ 1 callers
Method
onPeerDisconnected
onPeerDisconnected 节点断开处理
internal/p2p/host.go:506
↓ 1 callers
Method
readLoop
readLoop 消息读取循环
internal/p2p/pubsub.go:249
↓ 1 callers
Function
readUint32
readUint32 读取uint32
internal/p2p/host.go:557
↓ 1 callers
Method
run
run 运行签名会话
internal/tss/signing.go:279
↓ 1 callers
Method
run
run 运行密钥生成会话
internal/tss/keygen.go:266
↓ 1 callers
Method
sendMessage
sendMessage 发送TSS消息
internal/tss/resharing.go:456
↓ 1 callers
Method
sendMessage
sendMessage 发送TSS消息
internal/tss/signing.go:349
↓ 1 callers
Method
sendMessage
sendMessage 发送TSS消息
internal/tss/keygen.go:336
↓ 1 callers
Method
setupRoutes
setupRoutes 设置路由
internal/api/server.go:53
↓ 1 callers
Method
validateResharingRequest
validateResharingRequest 验证重分享请求 threshold 表示签名所需的最少节点数
internal/tss/resharing.go:324
↓ 1 callers
Function
writeUint32
writeUint32 写入uint32
internal/p2p/host.go:546
Function
AnnouncementFromBytes
AnnouncementFromBytes 公告反序列化
internal/p2p/node.go:349
Function
BuildSigningPartyIDs
BuildSigningPartyIDs 构建签名参与方ID
internal/tss/party.go:273
Method
CleanupExpiredSessions
CleanupExpiredSessions 清理过期会话
internal/storage/session_repo.go:112
Method
CleanupSession
CleanupSession 清理会话
internal/tss/resharing.go:377
Method
CleanupSession
CleanupSession 清理会话
internal/tss/signing.go:256
Method
CleanupSession
CleanupSession 清理会话
internal/tss/keygen.go:243
Method
CreateAnnouncement
CreateAnnouncement 创建节点公告
internal/p2p/node.go:334
Method
Delete
Delete 删除键值对
internal/storage/leveldb.go:71
Method
DeleteSession
DeleteSession 删除会话
internal/storage/session_repo.go:45
Method
DeleteWallet
DeleteWallet 删除钱包
internal/storage/wallet_repo.go:45
Method
EventChan
EventChan 获取事件通道
internal/p2p/node.go:329
Method
FindPeer
FindPeer 通过ID查找节点
internal/p2p/discovery.go:292
Method
GetAddrs
GetAddrs 获取监听地址
internal/p2p/host.go:325
Method
GetAllNodes
GetAllNodes 获取所有节点
internal/p2p/node.go:153
Method
GetAllPeers
GetAllPeers 获取所有已知的PubSub节点
internal/p2p/pubsub.go:351
Method
GetDHT
GetDHT 获取DHT实例
internal/p2p/discovery.go:287
Method
GetDiscoveredPeers
GetDiscoveredPeers 获取已发现的节点
internal/p2p/discovery.go:270
Method
GetDiscovery
GetDiscovery 获取发现服务
internal/p2p/host.go:375
Method
GetHost
GetHost 获取底层libp2p主机
internal/p2p/host.go:370
Method
GetKeyShareInfo
GetKeyShareInfo 获取密钥分片信息
internal/wallet/manager.go:466
Method
GetLocalNode
GetLocalNode 获取本地节点信息
internal/p2p/node.go:127
Method
GetNode
GetNode 获取节点信息
internal/p2p/node.go:132
Method
GetNodeByPeerID
GetNodeByPeerID 通过PeerID获取节点
internal/p2p/node.go:140
Method
GetNodeCount
GetNodeCount 获取节点数量
internal/p2p/node.go:367
Method
GetNodeManager
GetNodeManager 获取节点管理器
internal/p2p/host.go:385
Method
GetOnlineNodeIDs
GetOnlineNodeIDs 获取在线节点ID列表
internal/p2p/node.go:179
Function
GetOriginalIndex
GetOriginalIndex 获取原始索引
internal/tss/party.go:263
Method
GetPeerByNodeID
GetPeerByNodeID 通过NodeID获取peer
internal/p2p/host.go:352
Method
GetSession
GetSession 获取会话处理器
internal/p2p/message.go:127
Method
GetSession
GetSession 获取会话
internal/tss/resharing.go:369
Method
GetSession
GetSession 获取会话
internal/tss/signing.go:248
Method
GetTopicPeers
GetTopicPeers 获取主题的订阅者
internal/p2p/pubsub.go:338
Method
GetWallet
GetWallet 获取钱包信息
internal/storage/wallet_repo.go:31
Method
GetWalletByAddress
GetWalletByAddress 通过地址获取钱包
internal/wallet/manager.go:150
Method
GetWalletByAddress
GetWalletByAddress 通过地址获取钱包
internal/storage/wallet_repo.go:75
Method
HandlePeerFound
HandlePeerFound 实现 mdns.Notifee 接口 - mDNS发现节点回调
internal/p2p/discovery.go:151
Method
HasKeyShare
HasKeyShare 检查是否有密钥分片
internal/wallet/manager.go:461
Method
HasKeyShare
HasKeyShare 检查密钥分片是否存在
internal/storage/keyshare_repo.go:117
Method
IsNodeOnline
IsNodeOnline 检查节点是否在线
internal/p2p/node.go:356
Method
JoinKeygen
JoinKeygen 加入密钥生成会话(兼容旧接口,内部调用 PrepareKeygen)
internal/tss/keygen.go:223
← previous
next →
101–200 of 261, ranked by callers