e2e

package
Version: v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Broadcast

func Broadcast(n *nwo.Network, o *nwo.Orderer, env *common.Envelope) (*orderer.BroadcastResponse, error)

Broadcast sends given env to Broadcast API of specified orderer.

func CreateBroadcastEnvelope

func CreateBroadcastEnvelope(n *nwo.Network, signer interface{}, channel string, data []byte) *common.Envelope

func CreateDeliverEnvelope

func CreateDeliverEnvelope(n *nwo.Network, entity interface{}, blkNum uint64, channel string) *common.Envelope

CreateDeliverEnvelope creates a deliver env to seek for specified block.

func CreateGRPCClient

func CreateGRPCClient(n *nwo.Network, o *nwo.Orderer) (*comm.GRPCClient, error)

func Deliver

func Deliver(n *nwo.Network, o *nwo.Orderer, env *common.Envelope) (*common.Block, error)

Deliver sends given env to Deliver API of specified orderer.

func FetchBlock

func FetchBlock(n *nwo.Network, o *nwo.Orderer, seq uint64, channel string) *common.Block

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL