MCPcopy Create free account
hub / github.com/DOSNetwork/core / handleGroupDissolve

Method handleGroupDissolve

dosnode/dos_chain_handler.go:527–537  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

525}
526
527func (d *DosNode) handleGroupDissolve() {
528 pendingGroupSize, err := d.chain.NumPendingGroups()
529 if err != nil {
530 d.logger.Error(err)
531 return
532 }
533
534 if pendingGroupSize > 0 {
535 d.chain.SignalGroupDissolve()
536 }
537}
538
539func (d *DosNode) isMember(groupID string) bool {
540 return d.dkg.GetShareSecurity(groupID) != nil

Callers 1

onchainLoopMethod · 0.95

Calls 3

NumPendingGroupsMethod · 0.65
ErrorMethod · 0.65
SignalGroupDissolveMethod · 0.65

Tested by

no test coverage detected