Documentation ¶
Index ¶
- type Manager
- func (m *Manager) GetAcceptShares() *sync.Map
- func (m *Manager) GetBlame() *b.Blame
- func (m *Manager) GetBlamePubKeysLists(peer []string) ([]string, []string, error)
- func (m *Manager) GetBroadcastBlame(lastMessageType string) ([]b.Node, error)
- func (m *Manager) GetLastMsg() string
- func (m *Manager) GetRoundMgr() *b.RoundMgr
- func (m *Manager) GetShareMgr() *b.ShareMgr
- func (m *Manager) GetUnicastBlame(lastMsgType string) ([]b.Node, error)
- func (m *Manager) NodeSyncBlame(keys []string, onlinePeers []peer.ID) (b.Blame, error)
- func (m *Manager) SetLastMsg(lastMsg string)
- func (m *Manager) SetLastUnicastPeer(peerID peer.ID, roundInfo string)
- func (m *Manager) SetPartyInfo(party *btss.PartyID, partyIDMap map[string]*btss.PartyID)
- func (m *Manager) TssMissingShareBlame(rounds int) ([]b.Node, bool, error)
- func (m *Manager) TssWrongShareBlame(wiredMsg *messages.WireMessage) (string, error)
- type PartyInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager deal with monero keygen / keysign related blame
func NewBlameManager ¶
func NewBlameManager() *Manager
NewBlameManager create a new instance of blame manager
func (*Manager) GetAcceptShares ¶
func (*Manager) GetBlamePubKeysLists ¶
GetBlamePubKeysLists returns the nodes public key who are not in the peer list
func (*Manager) GetBroadcastBlame ¶
GetBroadcastBlame blame the node who cause the timeout in broadcast message
func (*Manager) GetLastMsg ¶
func (*Manager) GetRoundMgr ¶
func (*Manager) GetShareMgr ¶
func (*Manager) GetUnicastBlame ¶
GetUnicastBlame blame the node who cause the timeout in unicast message
func (*Manager) NodeSyncBlame ¶
NodeSyncBlame blame the node who cause the timeout in node sync
func (*Manager) SetLastMsg ¶
func (*Manager) SetLastUnicastPeer ¶
func (*Manager) SetPartyInfo ¶
func (*Manager) TssMissingShareBlame ¶
TssMissingShareBlame blame the node fail to send the shares to the node
func (*Manager) TssWrongShareBlame ¶
func (m *Manager) TssWrongShareBlame(wiredMsg *messages.WireMessage) (string, error)
TssWrongShareBlame blame the node who provide the wrong share
Click to show internal directories.
Click to hide internal directories.