Skip to content

feature: read/write API to support blob size and blob per sec #313

@shrimalmadhur

Description

@shrimalmadhur

I want a simple write API which takes in data, blob_size_rate and blob_throughput and then break the data based on blob_size_rate and send blobs with blob_throughput. It returns all the certs.
Then I can pass all certs in same order in a read API which get all the data and constructs the whole data and return it. This will really help in simplifying the interaction with eigenda based on limits and as a user I don't need to worry about breaking and sending it at some frequency.

Something like below

// returns all the certs
func SetData(data []byte, blob_size_rate int, blob_throughput int) ([][]byte, error)

// get the constructed data back
func GetData(certs [][]byte) ([]byte, error)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions