results

package
v0.0.0-...-798156f Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package results provides an implementation of the txsub.ResultProvider interface backed using the SQL databases used by both digitalbits core and frontier

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	Core    *core.Q
	History *history.Q
}

DB provides transactio submission results by querying the connected frontier and digitalbits core databases.

func (*DB) ResultByHash

func (rp *DB) ResultByHash(ctx context.Context, hash string) txsub.Result

ResultByHash implements txsub.ResultProvider

Jump to

Keyboard shortcuts

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