Documentation
¶
Index ¶
Constants ¶
View Source
const ( SlotTimeSecMainnet = 12 // FieldElementsPerBlob is the number of field elements needed to represent a blob. FieldElementsPerBlob = 4096 // BlobExpansionFactor is the factor by which we extend a blob for PeerDAS. BlobExpansionFactor = 2 // FieldElementsPerCell is the number of field elements in a cell. FieldElementsPerCell = 64 BytesPerFieldElement = 32 // FieldElementsPerExtBlob is the number of field elements needed to represent an extended blob. FieldElementsPerExtBlob = FieldElementsPerBlob * BlobExpansionFactor // CellsPerExtBlob is the number of cells in an extended blob. CellsPerExtBlob = FieldElementsPerExtBlob / FieldElementsPerCell )
Variables ¶
This section is empty.
Functions ¶
func FloatEthTo256Wei ¶
FloatEthTo256Wei converts a float (precision 10) denominated in eth to a U256Str denominated in wei
func GetEnvFloat64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.