comm

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2018 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Copyright 2017-2018 OneLedger

Cover over the Tendermint client handling.

TODO: Make this generic to handle HTTP and local clients

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Broadcast

func Broadcast(packet []byte) *ctypes.ResultBroadcastTxCommit

A sync'ed broadcast to the chain that waits for the commit to happen

func BroadcastAsync added in v0.6.1

func BroadcastAsync(packet []byte) *ctypes.ResultBroadcastTx

An async Broadcast to the chain

func BroadcastSync added in v0.6.2

func BroadcastSync(packet []byte) *ctypes.ResultBroadcastTx

A sync'ed broadcast to the chain that waits for the commit to happen

func GetClient

func GetClient() (client *rpcclient.HTTP)

HTTP interface, allows Broadcast? TODO: Want to switch client type, based on config or cli args.

func IsError added in v0.6.2

func IsError(result interface{}) *string

func NewAppClient

func NewAppClient() client.Client

Generic Client interface, allows SetOption

func Query

func Query(path string, packet []byte) interface{}

Send a very specific query

func Search(query string, prove bool, page, perPage int) (res *ctypes.ResultTxSearch)

func SetOption

func SetOption(key string, value string)

Set an option in the ABCi app directly

Types

This section is empty.

Jump to

Keyboard shortcuts

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