util

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIIpldStore

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

APIIpldStore is required for AMT and HAMT access.

func NewAPIIpldStore

func NewAPIIpldStore(ctx context.Context, api api.FullNode) *APIIpldStore

func (*APIIpldStore) Context

func (ht *APIIpldStore) Context() context.Context

func (*APIIpldStore) Get

func (ht *APIIpldStore) Get(ctx context.Context, c cid.Cid, out interface{}) error

func (*APIIpldStore) Put

func (ht *APIIpldStore) Put(ctx context.Context, v interface{}) (cid.Cid, error)

Jump to

Keyboard shortcuts

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