bundles

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecompressBundleFromStorageProvider

func DecompressBundleFromStorageProvider(bundle types.FinalizedBundle, data []byte) ([]byte, error)

func GetDataFromFinalizedBundle

func GetDataFromFinalizedBundle(bundle types.FinalizedBundle, storageRest string) ([]byte, error)

func GetFinalizedBundleById added in v1.5.0

func GetFinalizedBundleById(restEndpoint string, poolId int64, bundleId int64) (*types.FinalizedBundle, error)

func GetFinalizedBundleByIndex added in v1.5.0

func GetFinalizedBundleByIndex(restEndpoint string, poolId int64, index int64) (*types.FinalizedBundle, error)

func GetFinalizedBundleForBlockHeight added in v1.5.0

func GetFinalizedBundleForBlockHeight(chainRest string, blockPool types.PoolResponse, height int64) (*types.FinalizedBundle, error)

func GetFinalizedBundlesPage

func GetFinalizedBundlesPage(restEndpoint string, poolId int64, paginationLimit int64, paginationKey string, reverse bool) ([]types.FinalizedBundle, string, error)

func GetFinalizedBundlesPageWithOffset added in v1.5.0

func GetFinalizedBundlesPageWithOffset(restEndpoint string, poolId int64, paginationLimit, paginationOffset int64, paginationKey string, reverse bool) ([]types.FinalizedBundle, string, error)

func RetrieveDataFromStorageProvider

func RetrieveDataFromStorageProvider(bundle types.FinalizedBundle, storageRest string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL