Documentation ¶ Index ¶ func RandByzantineEDS(t *testing.T, size int, options ...nmt.Option) *rsmt2d.ExtendedDataSquare func RandEDS(t require.TestingT, size int) *rsmt2d.ExtendedDataSquare func RandEDSWithNamespace(t require.TestingT, namespace share.Namespace, size int) (*rsmt2d.ExtendedDataSquare, *share.Root) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RandByzantineEDS ¶ func RandByzantineEDS(t *testing.T, size int, options ...nmt.Option) *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, *share.Root) Types ¶ This section is empty. Source Files ¶ View all Source files testing.go Click to show internal directories. Click to hide internal directories.