Documentation ¶
Overview ¶
Deprecated: Use github.com/ipfs/go-libipfs/blocks instead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWrongHash = blocks.ErrWrongHash
Deprecated: Use blocks.ErrWrongHash instead.
Functions ¶
func NewBlock
deprecated
func NewBlock(data []byte) *blocks.BasicBlock
Deprecated: Use blocks.NewBlock instead.
func NewBlockWithCid
deprecated
func NewBlockWithCid(data []byte, c cid.Cid) (*blocks.BasicBlock, error)
Deprecated: Use blocks.NewBlockWithCid instead.
func NewBlockWithCid1 ¶
func NewBlockWithCid1(data []byte, c cid.Cid) (*blocks.BasicBlock, error)
Types ¶
type BasicBlock
deprecated
type BasicBlock = blocks.BasicBlock
Deprecated: Use blocks.BasicBlock instead.
Click to show internal directories.
Click to hide internal directories.