util

package
v1.6.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCid

func MakeCid(i interface{}) (cid.Cid, error)

Types

type ReadOnlyIpldStore

type ReadOnlyIpldStore struct {
	cbor.IpldStore
}

ReadOnlyIpldStore is a store that rejects writes.

func (*ReadOnlyIpldStore) Put

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

Put returns an error.

Directories

Path Synopsis
blockstoreutil contains all the basic blockstore constructors used by lotus.
blockstoreutil contains all the basic blockstore constructors used by lotus.
dag

Jump to

Keyboard shortcuts

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