results

package
v0.0.0-...-d2cc306 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 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 stellar core and horizon

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 horizon and stellar 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