results

package
v0.0.0-...-13e2633 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 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
	// SkipCoreChecks makes DB skip checking transaction result in Core DB if `true`.
	SkipCoreChecks bool
}

DB provides transaction submission results by querying the connected horizon and, if set, 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