transaction

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	Insert(ctx context.Context, data *model.Transaction) error
	Delete(ctx context.Context, from, to int64) (err error)
	FindTransaction(ctx context.Context, hash []byte) (result *model.Transaction, err error)
	FindTransactionsByBlockHash(ctx context.Context, blockHash []byte) (result []*model.Transaction, err error)
}

func NewWithDB

func NewWithDB(db DbOrTx) Store

Directories

Path Synopsis
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0

Jump to

Keyboard shortcuts

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