Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
225
func
(ps *PartSet) BitArray() *bits.BitArray {
226
ps.mtx.Lock()
227
defer
ps.mtx.Unlock()
228
return
ps.partsBitArray.Copy()
229
}
230
231
func
(ps *PartSet) Hash() []byte {
232
if
ps == nil {
Callers
nothing calls this directly
Calls
3
Lock
Method · 0.65
Unlock
Method · 0.65
Copy
Method · 0.65
Tested by
no test coverage detected