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

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