Documentation ¶
Index ¶
- func BitlistWithAllBitsSet(t testing.TB, length uint64) bitfield.Bitlist
- func BitlistsWithMultipleBitSet(t testing.TB, n, length, count uint64) []bitfield.Bitlist
- func BitlistsWithSingleBitSet(t testing.TB, n, length uint64) []bitfield.Bitlist
- func MakeAttestationsFromBitlists(t testing.TB, bl []bitfield.Bitlist) []*ethpb.Attestation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BitlistWithAllBitsSet ¶
BitlistWithAllBitsSet creates list of bitlists with all bits set.
func BitlistsWithMultipleBitSet ¶
BitlistsWithMultipleBitSet creates list of bitlists with random n bits set.
func BitlistsWithSingleBitSet ¶
BitlistsWithSingleBitSet creates list of bitlists with a single bit set in each.
func MakeAttestationsFromBitlists ¶
func MakeAttestationsFromBitlists(t testing.TB, bl []bitfield.Bitlist) []*ethpb.Attestation
MakeAttestationsFromBitlists creates list of bitlists from list of attestations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.