Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandByzantineEDS ¶
func RandByzantineEDS(t *testing.T, size int) *rsmt2d.ExtendedDataSquare
func RandEDS ¶
func RandEDS(t require.TestingT, size int) *rsmt2d.ExtendedDataSquare
RandEDS generates EDS filled with the random data with the given size for original square. It uses require.TestingT to be able to take both a *testing.T and a *testing.B.
func RandEDSWithNamespace ¶
func RandEDSWithNamespace( t require.TestingT, namespace share.Namespace, size int, ) (*rsmt2d.ExtendedDataSquare, da.DataAvailabilityHeader)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.