connections

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RawConnect

func RawConnect(nodeConfig *config.NodeConfig) (*grpc.ClientConn, error)

RawConnect establishes gRPC connection with the target URL, omitting the chain context check. This is based on oasis-sdk `ConnectNoVerify()` function, but returns a raw gRPC connection instead of the oasis-sdk `Connection` wrapper.

func SDKConnect

func SDKConnect(ctx context.Context, chainContext string, nodeConfig *config.NodeConfig, fastStartup bool) (connection.Connection, error)

SDKConnect creates an Oasis SDK Connection to a node running the current version of oasis-node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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