MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetSignaturesCount

Method GetSignaturesCount

consensus/dbft/consensus_context.go:171–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169}
170
171func (ctx *ConsensusContext) GetSignaturesCount() (count int) {
172 log.Debug()
173 count = 0
174 for _, sig := range ctx.Signatures {
175 if sig != nil {
176 count += 1
177 }
178 }
179 return count
180}
181
182func (ctx *ConsensusContext) GetStateDetail() string {
183

Callers 2

CheckSignaturesMethod · 0.80

Calls 1

DebugFunction · 0.92

Tested by

no test coverage detected