retrievaladapter

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0, MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFixedBlockstoreAccessor added in v1.11.2

func NewFixedBlockstoreAccessor(bs bstore.Blockstore) retrievalmarket.BlockstoreAccessor

func NewRetrievalClientNode

func NewRetrievalClientNode(payAPI payapi.PaychAPI, chainAPI full.ChainAPI, stateAPI full.StateAPI) retrievalmarket.RetrievalClientNode

NewRetrievalClientNode returns a new node adapter for a retrieval client that talks to the Lotus Node

func NewRetrievalProviderNode

func NewRetrievalProviderNode(full v1api.FullNode) retrievalmarket.RetrievalProviderNode

NewRetrievalProviderNode returns a new node adapter for a retrieval provider that talks to the Lotus Node

Types

type CARBlockstoreAccessor added in v1.11.2

type CARBlockstoreAccessor struct {
	// contains filtered or unexported fields
}

func NewCARBlockstoreAccessor added in v1.11.2

func NewCARBlockstoreAccessor(rootdir string) *CARBlockstoreAccessor

func (*CARBlockstoreAccessor) Done added in v1.11.2

func (*CARBlockstoreAccessor) Get added in v1.11.2

func (*CARBlockstoreAccessor) PathFor added in v1.11.2

type ProxyBlockstoreAccessor added in v1.11.2

type ProxyBlockstoreAccessor struct {
	Blockstore bstore.Blockstore
}

ProxyBlockstoreAccessor is an accessor that returns a fixed blockstore. To be used in combination with IPFS integration.

func (*ProxyBlockstoreAccessor) Done added in v1.11.2

func (*ProxyBlockstoreAccessor) Get added in v1.11.2

Jump to

Keyboard shortcuts

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