results

package
v0.0.0-...-c9303cd Latest Latest
Warning

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

Go to latest
Published: Dec 24, 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 diamnet core and aurora

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 aurora and diamnet 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