Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devlongs/gean
/ functions
Functions
88 in github.com/devlongs/gean
⨍
Functions
88
◇
Types & classes
25
↓ 15 callers
Function
HashTreeRootContainer
(fields []types.Root)
common/ssz/ssz.go:147
↓ 12 callers
Function
HashTreeRootUint64
(value uint64)
common/ssz/ssz.go:27
↓ 9 callers
Function
BitlistFromBits
(bits []bool, limit int)
common/types/bitfield.go:66
↓ 8 callers
Function
HashTreeRootCheckpoint
(c *types.Checkpoint)
common/ssz/ssz.go:156
↓ 8 callers
Function
Merkleize
(chunks []types.Root, limit int)
common/ssz/ssz.go:66
↓ 7 callers
Method
Get
(index int)
common/types/bitfield.go:83
↓ 7 callers
Function
HashTreeRootList
(elements []types.Root, limit int)
common/ssz/ssz.go:151
↓ 6 callers
Function
HashNodes
(a, b types.Root)
common/ssz/ssz.go:18
↓ 6 callers
Method
IsZero
()
common/types/types.go:18
↓ 5 callers
Function
HashTreeRootBitlist
(bl *types.Bitlist)
common/ssz/ssz.go:39
↓ 5 callers
Method
Len
()
common/types/bitfield.go:80
↓ 5 callers
Method
Set
(index int, value bool)
common/types/bitfield.go:38
↓ 5 callers
Function
nextPowerOfTwo
(x int)
common/ssz/ssz.go:103
↓ 4 callers
Method
Get
(index int)
common/types/bitfield.go:31
↓ 4 callers
Function
HashTreeRootBytes
(data []byte)
common/ssz/ssz.go:128
↓ 4 callers
Function
SlotToTime
(slot Slot, genesisTime uint64)
common/types/types.go:67
↓ 4 callers
Function
isPerfectSquare
(n uint64)
common/types/types.go:62
↓ 3 callers
Method
Bytes
Bytes returns SSZ-encoded bytes with delimiter bit.
common/types/bitfield.go:102
↓ 3 callers
Function
HashTreeRootAttestationData
(a *types.AttestationData)
common/ssz/ssz.go:172
↓ 3 callers
Function
HashTreeRootBlockHeader
(h *types.BlockHeader)
common/ssz/ssz.go:209
↓ 3 callers
Function
HashTreeRootBlockWithAttestation
(bwa *types.BlockWithAttestation, attestationLimit int)
common/ssz/ssz.go:231
↓ 3 callers
Function
HashTreeRootConfig
(c *types.Config)
common/ssz/ssz.go:251
↓ 3 callers
Function
HashTreeRootState
(s *types.State, historicalRootsLimit, validatorLimit int)
common/ssz/ssz.go:258
↓ 3 callers
Function
MixInLength
(root types.Root, length uint64)
common/ssz/ssz.go:97
↓ 3 callers
Function
NewBitvector
(length int)
common/types/bitfield.go:11
↓ 3 callers
Function
TimeToSlot
(time, genesisTime uint64)
common/types/types.go:71
↓ 3 callers
Function
isqrt
(n uint64)
common/types/types.go:49
↓ 2 callers
Function
Hash
(data []byte)
common/ssz/ssz.go:14
↓ 2 callers
Function
HashTreeRootBitvector
(bv *types.Bitvector)
common/ssz/ssz.go:33
↓ 2 callers
Function
HashTreeRootBlock
(b *types.Block, attestationLimit int)
common/ssz/ssz.go:220
↓ 2 callers
Function
HashTreeRootValidator
(v *types.Validator)
common/ssz/ssz.go:164
↓ 2 callers
Method
IsJustifiableAfter
IsJustifiableAfter implements 3SF-mini finality rules. A slot is justifiable if delta (distance from finalized) is: - <= 5, OR a perfect square, OR a
common/types/types.go:25
↓ 2 callers
Function
packBits
(n int, get func(int) bool)
common/ssz/ssz.go:46
↓ 1 callers
Function
BitvectorFromBytes
(data []byte, length int)
common/types/bitfield.go:18
↓ 1 callers
Method
Bytes
()
common/types/bitfield.go:49
↓ 1 callers
Function
HashTreeRootAggregatedAttestation
(a *types.AggregatedAttestation, limit int)
common/ssz/ssz.go:190
↓ 1 callers
Function
HashTreeRootAttestation
(a *types.Attestation)
common/ssz/ssz.go:182
↓ 1 callers
Function
HashTreeRootBlockBody
(b *types.BlockBody, attestationLimit int)
common/ssz/ssz.go:198
↓ 1 callers
Function
HashTreeRootSignedBlockWithAttestation
(sbwa *types.SignedBlockWithAttestation, attestationLimit, validatorLimit int)
common/ssz/ssz.go:239
↓ 1 callers
Method
Len
()
common/types/bitfield.go:28
↓ 1 callers
Method
Limit
()
common/types/bitfield.go:81
↓ 1 callers
Function
zeroTreeRoot
(width int)
common/ssz/ssz.go:116
Method
ByteLen
()
common/types/bitfield.go:29
Function
NewBitlist
(limit int)
common/types/bitfield.go:62
Method
Set
(index int, value bool)
common/types/bitfield.go:90
Function
TestAttestation
(t *testing.T)
common/types/containers_test.go:60
Function
TestAttestationData
(t *testing.T)
common/types/containers_test.go:38
Function
TestBitlist
(t *testing.T)
common/types/bitfield_test.go:33
Function
TestBitlistBytes
(t *testing.T)
common/types/bitfield_test.go:46
Function
TestBitvector
(t *testing.T)
common/types/bitfield_test.go:5
Function
TestBitvectorFromBytes
(t *testing.T)
common/types/bitfield_test.go:23
Function
TestBlock
(t *testing.T)
common/types/containers_test.go:93
Function
TestBlockHeader
(t *testing.T)
common/types/containers_test.go:76
Function
TestBlockWithAttestation
(t *testing.T)
common/types/containers_test.go:129
Function
TestCheckpoint
(t *testing.T)
common/types/containers_test.go:7
Function
TestEmptyBitlist
(t *testing.T)
common/types/bitfield_test.go:55
Function
TestHash
(t *testing.T)
common/ssz/ssz_test.go:9
Function
TestHashNodes
(t *testing.T)
common/ssz/ssz_test.go:19
Function
TestHashTreeRootAttestationData
(t *testing.T)
common/ssz/containers_test.go:55
Function
TestHashTreeRootBitlist
(t *testing.T)
common/ssz/ssz_test.go:70
Function
TestHashTreeRootBitvector
(t *testing.T)
common/ssz/ssz_test.go:61
Function
TestHashTreeRootBlock
(t *testing.T)
common/ssz/containers_test.go:92
Function
TestHashTreeRootBlockHeader
(t *testing.T)
common/ssz/containers_test.go:70
Function
TestHashTreeRootBlockWithAttestation
(t *testing.T)
common/ssz/containers_test.go:169
Function
TestHashTreeRootBytes
(t *testing.T)
common/ssz/containers_test.go:110
Function
TestHashTreeRootCheckpoint
(t *testing.T)
common/ssz/containers_test.go:9
Function
TestHashTreeRootConfig
(t *testing.T)
common/ssz/containers_test.go:230
Function
TestHashTreeRootContainer
(t *testing.T)
common/ssz/containers_test.go:132
Function
TestHashTreeRootList
(t *testing.T)
common/ssz/containers_test.go:153
Function
TestHashTreeRootSignedBlockWithAttestation
(t *testing.T)
common/ssz/containers_test.go:201
Function
TestHashTreeRootState
(t *testing.T)
common/ssz/containers_test.go:246
Function
TestHashTreeRootStateWithValidators
(t *testing.T)
common/ssz/containers_test.go:282
Function
TestHashTreeRootUint64
(t *testing.T)
common/ssz/ssz_test.go:30
Function
TestHashTreeRootValidator
(t *testing.T)
common/ssz/containers_test.go:39
Function
TestIsJustifiableAfter
(t *testing.T)
common/types/types_test.go:41
Function
TestIsJustifiableAfter_BeforeFinalized
(t *testing.T)
common/types/types_test.go:103
Function
TestIsPerfectSquare
(t *testing.T)
common/types/types_test.go:140
Function
TestIsqrt
(t *testing.T)
common/types/types_test.go:112
Function
TestMerkleize
(t *testing.T)
common/ssz/ssz_test.go:37
Function
TestMixInLength
(t *testing.T)
common/ssz/ssz_test.go:53
Function
TestNextPowerOfTwo
(t *testing.T)
common/ssz/ssz_test.go:78
Function
TestRootIsZero
(t *testing.T)
common/types/types_test.go:31
Function
TestSignedBlockWithAttestation
(t *testing.T)
common/types/containers_test.go:157
Function
TestSlotToTime
(t *testing.T)
common/types/types_test.go:5
Function
TestState
(t *testing.T)
common/types/containers_test.go:112
Function
TestTimeToSlot
(t *testing.T)
common/types/types_test.go:18
Function
TestValidator
(t *testing.T)
common/types/containers_test.go:21
Function
main
()
cmd/gean/main.go:10