MCPcopy Create free account
hub / github.com/tendermint/tendermint / BitArray

Method BitArray

types/part_set.go:225–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223}
224
225func (ps *PartSet) BitArray() *bits.BitArray {
226 ps.mtx.Lock()
227 defer ps.mtx.Unlock()
228 return ps.partsBitArray.Copy()
229}
230
231func (ps *PartSet) Hash() []byte {
232 if ps == nil {

Callers

nothing calls this directly

Calls 3

LockMethod · 0.65
UnlockMethod · 0.65
CopyMethod · 0.65

Tested by

no test coverage detected