verifbs

package
v0.0.0-...-9ab2669 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VerifBS

type VerifBS struct {
	bstore.Blockstore
}

func (*VerifBS) Get

func (bs *VerifBS) Get(c cid.Cid) (blocks.Block, error)

func (*VerifBS) Put

func (bs *VerifBS) Put(b blocks.Block) error

func (*VerifBS) PutMany

func (bs *VerifBS) PutMany(blks []blocks.Block) error

type VerifBSGC

type VerifBSGC struct {
	bstore.GCBlockstore
}

func (*VerifBSGC) Get

func (bs *VerifBSGC) Get(c cid.Cid) (blocks.Block, error)

func (*VerifBSGC) Put

func (bs *VerifBSGC) Put(b blocks.Block) error

func (*VerifBSGC) PutMany

func (bs *VerifBSGC) PutMany(blks []blocks.Block) error

Jump to

Keyboard shortcuts

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