Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataCompressionService ¶
type DataCompressionService interface { // CompressRollup - uses the maximum compression level, because the final size matters when publishing to Ethereum CompressRollup(blob []byte) ([]byte, error) // CompressBatch - uses the default compression level, because the compression is for the efficiency of the p2p transfer CompressBatch(blob []byte) ([]byte, error) Decompress(blob []byte) ([]byte, error) }
func NewBrotliDataCompressionService ¶
func NewBrotliDataCompressionService() DataCompressionService
Click to show internal directories.
Click to hide internal directories.