MCPcopy Create free account

hub / github.com/339-Labs/wallet-platform-mpc-go / functions

Functions261 in github.com/339-Labs/wallet-platform-mpc-go

↓ 1 callersFunctionNewResharingManager
NewResharingManager 创建重分享管理器
internal/tss/resharing.go:95
↓ 1 callersFunctionNewServer
NewServer 创建API服务器
internal/api/server.go:29
↓ 1 callersFunctionNewSessionRepository
NewSessionRepository 创建会话存储库
internal/storage/session_repo.go:19
↓ 1 callersFunctionNewSigningManager
NewSigningManager 创建签名管理器
internal/tss/signing.go:84
↓ 1 callersFunctionNewStorage
NewStorage 创建新的存储实例
internal/storage/leveldb.go:31
↓ 1 callersFunctionNewWalletRepository
NewWalletRepository 创建钱包存储库
internal/storage/wallet_repo.go:19
↓ 1 callersMethodPeerChan
PeerChan 获取节点发现通知通道
internal/p2p/discovery.go:282
↓ 1 callersFunctionPublicKeyToAddress
PublicKeyToAddress 从公钥获取以太坊地址
internal/tss/party.go:121
↓ 1 callersMethodPut
Put 存储键值对
internal/storage/leveldb.go:57
↓ 1 callersMethodPut
Put 批量添加
internal/storage/leveldb.go:152
↓ 1 callersMethodRefreshKeyShares
RefreshKeyShares 刷新密钥分片(不改变参与方和阈值)
internal/wallet/manager.go:442
↓ 1 callersMethodSignMessage
SignMessage 签名消息
internal/wallet/manager.go:186
↓ 1 callersMethodSignTransaction
SignTransaction 签名交易
internal/wallet/manager.go:252
↓ 1 callersFunctionSignatureToBytes
SignatureToBytes 签名转字节
internal/tss/party.go:225
↓ 1 callersMethodStart
Start 启动消息管理器
internal/p2p/message.go:77
↓ 1 callersMethodStart
Start 启动P2P服务
internal/p2p/host.go:191
↓ 1 callersMethodStart
Start 启动发现服务
internal/p2p/discovery.go:165
↓ 1 callersMethodStart
Start 启动服务器
internal/api/server.go:108
↓ 1 callersMethodStartKeygen
StartKeygen 开始密钥生成(兼容旧接口,内部调用 PrepareKeygen + Start)
internal/tss/keygen.go:101
↓ 1 callersMethodStartResharing
StartResharing 开始密钥重分享
internal/tss/resharing.go:116
↓ 1 callersMethodStop
Stop 停止节点管理器
internal/p2p/node.go:119
↓ 1 callersMethodStop
Stop 停止PubSub服务
internal/p2p/pubsub.go:124
↓ 1 callersMethodStop
Stop 停止P2P服务
internal/p2p/host.go:230
↓ 1 callersMethodStop
Stop 停止发现服务
internal/p2p/discovery.go:176
↓ 1 callersMethodStop
Stop 停止服务器
internal/api/server.go:128
↓ 1 callersMethodUnsubscribe
Unsubscribe 取消订阅
internal/p2p/pubsub.go:176
↓ 1 callersFunctionauthMiddleware
认证中间件
internal/api/server.go:167
↓ 1 callersMethodcheckNodeStatus
checkNodeStatus 检查节点状态
internal/p2p/node.go:301
↓ 1 callersFunctioncorsMiddleware
CORS中间件
internal/api/server.go:151
↓ 1 callersMethoddecrypt
decrypt 解密数据
internal/storage/keyshare_repo.go:176
↓ 1 callersMethoddhtDiscoveryLoop
dhtDiscoveryLoop DHT发现循环
internal/p2p/discovery.go:198
↓ 1 callersMethodencrypt
encrypt 加密数据
internal/storage/keyshare_repo.go:156
↓ 1 callersMethodhandleDiscoveredPeers
handleDiscoveredPeers 处理发现的节点
internal/p2p/host.go:472
↓ 1 callersMethodhandleMessage
handleMessage 处理消息
internal/p2p/pubsub.go:298
↓ 1 callersMethodhandleMessage
handleMessage 处理收到的消息
internal/tss/resharing.go:490
↓ 1 callersMethodhandleMessage
handleMessage 处理收到的消息
internal/tss/signing.go:373
↓ 1 callersMethodhandleMessage
handleMessage 处理收到的消息
internal/tss/keygen.go:361
↓ 1 callersMethodhandleMessages
handleMessages 处理消息
internal/p2p/host.go:438
↓ 1 callersMethodhandlePubSubMessages
handlePubSubMessages 处理PubSub消息
internal/p2p/host.go:449
↓ 1 callersMethodhandleSuccess
handleSuccess 处理成功
internal/tss/resharing.go:543
↓ 1 callersMethodhandleSuccess
handleSuccess 处理成功
internal/tss/signing.go:410
↓ 1 callersMethodhandleSuccess
handleSuccess 处理成功
internal/tss/keygen.go:398
↓ 1 callersMethodheartbeatLoop
heartbeatLoop 心跳循环
internal/p2p/pubsub.go:311
↓ 1 callersMethodinitDHT
initDHT 初始化Kademlia DHT
internal/p2p/discovery.go:95
↓ 1 callersMethodinitMDNS
initMDNS 初始化mDNS发现(本地网络)
internal/p2p/discovery.go:136
↓ 1 callersFunctionloadOrGenerateKey
loadOrGenerateKey 加载或生成密钥
internal/p2p/host.go:516
↓ 1 callersMethodmessageLoop
messageLoop 消息循环
internal/p2p/message.go:196
↓ 1 callersMethodnodeStatusLoop
nodeStatusLoop 节点状态检查循环
internal/p2p/node.go:286
↓ 1 callersMethodonPeerConnected
onPeerConnected 节点连接处理
internal/p2p/host.go:491
↓ 1 callersMethodonPeerDisconnected
onPeerDisconnected 节点断开处理
internal/p2p/host.go:506
↓ 1 callersMethodreadLoop
readLoop 消息读取循环
internal/p2p/pubsub.go:249
↓ 1 callersFunctionreadUint32
readUint32 读取uint32
internal/p2p/host.go:557
↓ 1 callersMethodrun
run 运行签名会话
internal/tss/signing.go:279
↓ 1 callersMethodrun
run 运行密钥生成会话
internal/tss/keygen.go:266
↓ 1 callersMethodsendMessage
sendMessage 发送TSS消息
internal/tss/resharing.go:456
↓ 1 callersMethodsendMessage
sendMessage 发送TSS消息
internal/tss/signing.go:349
↓ 1 callersMethodsendMessage
sendMessage 发送TSS消息
internal/tss/keygen.go:336
↓ 1 callersMethodsetupRoutes
setupRoutes 设置路由
internal/api/server.go:53
↓ 1 callersMethodvalidateResharingRequest
validateResharingRequest 验证重分享请求 threshold 表示签名所需的最少节点数
internal/tss/resharing.go:324
↓ 1 callersFunctionwriteUint32
writeUint32 写入uint32
internal/p2p/host.go:546
FunctionAnnouncementFromBytes
AnnouncementFromBytes 公告反序列化
internal/p2p/node.go:349
FunctionBuildSigningPartyIDs
BuildSigningPartyIDs 构建签名参与方ID
internal/tss/party.go:273
MethodCleanupExpiredSessions
CleanupExpiredSessions 清理过期会话
internal/storage/session_repo.go:112
MethodCleanupSession
CleanupSession 清理会话
internal/tss/resharing.go:377
MethodCleanupSession
CleanupSession 清理会话
internal/tss/signing.go:256
MethodCleanupSession
CleanupSession 清理会话
internal/tss/keygen.go:243
MethodCreateAnnouncement
CreateAnnouncement 创建节点公告
internal/p2p/node.go:334
MethodDelete
Delete 删除键值对
internal/storage/leveldb.go:71
MethodDeleteSession
DeleteSession 删除会话
internal/storage/session_repo.go:45
MethodDeleteWallet
DeleteWallet 删除钱包
internal/storage/wallet_repo.go:45
MethodEventChan
EventChan 获取事件通道
internal/p2p/node.go:329
MethodFindPeer
FindPeer 通过ID查找节点
internal/p2p/discovery.go:292
MethodGetAddrs
GetAddrs 获取监听地址
internal/p2p/host.go:325
MethodGetAllNodes
GetAllNodes 获取所有节点
internal/p2p/node.go:153
MethodGetAllPeers
GetAllPeers 获取所有已知的PubSub节点
internal/p2p/pubsub.go:351
MethodGetDHT
GetDHT 获取DHT实例
internal/p2p/discovery.go:287
MethodGetDiscoveredPeers
GetDiscoveredPeers 获取已发现的节点
internal/p2p/discovery.go:270
MethodGetDiscovery
GetDiscovery 获取发现服务
internal/p2p/host.go:375
MethodGetHost
GetHost 获取底层libp2p主机
internal/p2p/host.go:370
MethodGetKeyShareInfo
GetKeyShareInfo 获取密钥分片信息
internal/wallet/manager.go:466
MethodGetLocalNode
GetLocalNode 获取本地节点信息
internal/p2p/node.go:127
MethodGetNode
GetNode 获取节点信息
internal/p2p/node.go:132
MethodGetNodeByPeerID
GetNodeByPeerID 通过PeerID获取节点
internal/p2p/node.go:140
MethodGetNodeCount
GetNodeCount 获取节点数量
internal/p2p/node.go:367
MethodGetNodeManager
GetNodeManager 获取节点管理器
internal/p2p/host.go:385
MethodGetOnlineNodeIDs
GetOnlineNodeIDs 获取在线节点ID列表
internal/p2p/node.go:179
FunctionGetOriginalIndex
GetOriginalIndex 获取原始索引
internal/tss/party.go:263
MethodGetPeerByNodeID
GetPeerByNodeID 通过NodeID获取peer
internal/p2p/host.go:352
MethodGetSession
GetSession 获取会话处理器
internal/p2p/message.go:127
MethodGetSession
GetSession 获取会话
internal/tss/resharing.go:369
MethodGetSession
GetSession 获取会话
internal/tss/signing.go:248
MethodGetTopicPeers
GetTopicPeers 获取主题的订阅者
internal/p2p/pubsub.go:338
MethodGetWallet
GetWallet 获取钱包信息
internal/storage/wallet_repo.go:31
MethodGetWalletByAddress
GetWalletByAddress 通过地址获取钱包
internal/wallet/manager.go:150
MethodGetWalletByAddress
GetWalletByAddress 通过地址获取钱包
internal/storage/wallet_repo.go:75
MethodHandlePeerFound
HandlePeerFound 实现 mdns.Notifee 接口 - mDNS发现节点回调
internal/p2p/discovery.go:151
MethodHasKeyShare
HasKeyShare 检查是否有密钥分片
internal/wallet/manager.go:461
MethodHasKeyShare
HasKeyShare 检查密钥分片是否存在
internal/storage/keyshare_repo.go:117
MethodIsNodeOnline
IsNodeOnline 检查节点是否在线
internal/p2p/node.go:356
MethodJoinKeygen
JoinKeygen 加入密钥生成会话(兼容旧接口,内部调用 PrepareKeygen)
internal/tss/keygen.go:223
← previousnext →101–200 of 261, ranked by callers