chainproxy

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 14 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

Index

Constants

View Source
const (
	LavaErrorCode       = 555
	InternalErrorString = "Internal Error"
)
View Source
const (
	DialTimeout                                = 500 * time.Millisecond
	ParallelConnectionsFlag                    = "parallel-connections"
	MaximumNumberOfParallelConnectionsAttempts = 10
)

Variables

View Source
var NumberOfParallelConnections uint = 10

Functions

func DefaultParsableRPCInput

func DefaultParsableRPCInput(input json.RawMessage) parser.RPCInput

Types

type Connector

type Connector struct {
	// contains filtered or unexported fields
}

func NewConnector

func NewConnector(ctx context.Context, nConns uint, nodeUrl common.NodeUrl) (*Connector, error)

func (*Connector) Close

func (connector *Connector) Close()

func (*Connector) GetRpc

func (connector *Connector) GetRpc(ctx context.Context, block bool) (*rpcclient.Client, error)

func (*Connector) ReturnRpc

func (connector *Connector) ReturnRpc(rpc *rpcclient.Client)

type CustomParsingMessage

type CustomParsingMessage interface {
	NewParsableRPCInput(input json.RawMessage) (parser.RPCInput, error)
}

type DefaultRPCInput

type DefaultRPCInput struct {
	Result json.RawMessage
}

func (DefaultRPCInput) GetParams

func (dri DefaultRPCInput) GetParams() interface{}

func (DefaultRPCInput) GetResult

func (dri DefaultRPCInput) GetResult() json.RawMessage

func (DefaultRPCInput) ParseBlock

func (dri DefaultRPCInput) ParseBlock(inp string) (int64, error)

type GRPCConnector

type GRPCConnector struct {
	// contains filtered or unexported fields
}

func NewGRPCConnector

func NewGRPCConnector(ctx context.Context, nConns uint, addr string) (*GRPCConnector, error)

func (*GRPCConnector) Close

func (connector *GRPCConnector) Close()

func (*GRPCConnector) GetRpc

func (connector *GRPCConnector) GetRpc(ctx context.Context, block bool) (*grpc.ClientConn, error)

func (*GRPCConnector) ReturnRpc

func (connector *GRPCConnector) ReturnRpc(rpc *grpc.ClientConn)

Directories

Path Synopsis
package rpcclient implements bi-directional JSON-RPC 2.0 on multiple transports.
package rpcclient implements bi-directional JSON-RPC 2.0 on multiple transports.
Ibc
thirdparty_utils/cosmos/tx/config/v1
Code generated by protoc-gen-go-pulsar.
Code generated by protoc-gen-go-pulsar.
thirdparty_utils/cosmos/tx/signing/v1beta1
Code generated by protoc-gen-go-pulsar.
Code generated by protoc-gen-go-pulsar.
thirdparty_utils/cosmos/tx/v1beta1
Code generated by protoc-gen-go-pulsar.
Code generated by protoc-gen-go-pulsar.
thirdparty_utils/ibc/apps/29-fee/types
Package types is a reverse proxy.
Package types is a reverse proxy.
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/ibc/apps/transfer/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/ibc/core/channel/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/ibc/core/client/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/ibc/core/connection/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/juno/mint/types
Package types is a reverse proxy.
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/osmosis_protobufs/epochs/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/osmosis_protobufs/gamm/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/osmosis_protobufs/gamm/v2types
Package v2types is a reverse proxy.
Package v2types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/osmosis_protobufs/incentives/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/osmosis_protobufs/lockup/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/osmosis_protobufs/mint/types
Package types is a reverse proxy.
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/osmosis_protobufs/protorev/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/osmosis_protobufs/superfluid/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/osmosis_protobufs/tokenfactory/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/osmosis_protobufs/twap/types
Package queryproto is a reverse proxy.
Package queryproto is a reverse proxy.
thirdparty_utils/osmosis_protobufs/txfees/types
Package types is a reverse proxy.
Package types is a reverse proxy.
thirdparty_utils/wasm/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

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