Documentation ¶
Index ¶
- func Add(db sql.Executor, ref types.PoetProofRef, poet, serviceID []byte, ...) error
- func Get(db sql.Executor, ref types.PoetProofRef) (poet []byte, err error)
- func GetBlobSizes(db sql.Executor, refs [][]byte) (sizes []int, err error)
- func GetRef(db sql.Executor, poetID []byte, roundID string) (ref types.PoetProofRef, err error)
- func Has(db sql.Executor, ref types.PoetProofRef) (bool, error)
- func LoadBlob(ctx context.Context, db sql.Executor, ref []byte, blob *sql.Blob) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlobSizes ¶ added in v1.4.1
GetBlobSizes returns the sizes of the blobs corresponding to PoETs with specified refs. For non-existent PoETs, the corresponding items are set to -1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.