os

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRawTransactionStore

func NewRawTransactionStore(path string) (datastore.RawTransactionStore, error)

NewRawTransactionStore creates a new raw transaction store with the path specified

Types

type RawTransactionStore

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

RawTransactionStore object

func (RawTransactionStore) PutRawTransaction

func (s RawTransactionStore) PutRawTransaction(ctx context.Context, protocol, network string, hash []byte, tx interface{}) error

PutRawTransaction writes the raw transaction to the file system

Jump to

Keyboard shortcuts

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