Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidDomainType = fmt.Errorf("invalid domain type")
)
Functions ¶
func EqualSlices ¶
func EqualSlices[P comparable](s1, s2 []P) bool
func ParseBytesAmount ¶
Types ¶
type BlobHeader ¶ added in v1.1.1
type BlobHeader struct { Commitment G1Point DataLength uint32 QuorumBlobParams []QuorumBlobParam }
BlobHeader struct to represent BlobHeader in Solidity
type Certificate ¶ added in v1.1.1
func (*Certificate) BatchHeaderRoot ¶ added in v1.1.1
func (c *Certificate) BatchHeaderRoot() []byte
func (*Certificate) BlobIndex ¶ added in v1.1.1
func (c *Certificate) BlobIndex() uint32
func (*Certificate) Proof ¶ added in v1.1.1
func (c *Certificate) Proof() *disperser.BlobVerificationProof
func (*Certificate) ReadBlobHeader ¶ added in v1.1.1
func (c *Certificate) ReadBlobHeader() BlobHeader
type DomainType ¶
type DomainType uint8
DomainType is an enumeration type for the different data domains for which a blob can exist between
const ( BinaryDomain DomainType = iota PolyDomain UnknownDomain )
func StrToDomainType ¶
func StrToDomainType(s string) DomainType
func (DomainType) String ¶ added in v1.1.1
func (dt DomainType) String() string
Click to show internal directories.
Click to hide internal directories.