mdc

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: GPL-3.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MDCDemo

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

func (*MDCDemo) Get

func (m *MDCDemo) Get(address common.Address, hash common.Hash) ([]byte, error, uint64, uint16)

func (*MDCDemo) Put

func (m *MDCDemo) Put(address common.Address, hash common.Hash, value []byte)

func (*MDCDemo) SetProvider

func (m *MDCDemo) SetProvider(string)

type Mdb

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

func (*Mdb) Get

func (m *Mdb) Get(hash common.Hash) ([]byte, error)

func (*Mdb) Put

func (m *Mdb) Put(hash common.Hash, value []byte)

type MdcIntf

type MdcIntf interface {
	SetProvider(string)

	Put(self common.Address, hash common.Hash, value []byte)
	//Get data from storage, returns data, nonce,masks
	Get(self common.Address, hash common.Hash) ([]byte, error, uint64, uint16)
	//Write and send receipt of(nonce,masks ) storage
	SendReceiption(self common.Address, receipt []byte)
}

Jump to

Keyboard shortcuts

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