tx

package
v0.0.0-...-caec882 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Add(ctx context.Context, signedTxs []*pb.SignedTransaction) error

	GetByHash(ctx context.Context, hash hash.Hash) (*pb.SignedTransaction, error)
	Get(ctx context.Context, hashes [][]byte) ([]*pb.SignedTransaction, error)
	Exists(ctx context.Context, hash hash.Hash) (bool, error)
}

func New

func New(raw raw.Interface) Interface

Jump to

Keyboard shortcuts

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