Documentation ¶
Index ¶
- func Broadcast(n *nwo.Network, o *nwo.Orderer, env *common.Envelope) (*orderer.BroadcastResponse, error)
- func CreateBroadcastEnvelope(n *nwo.Network, signer interface{}, channel string, data []byte) *common.Envelope
- func CreateDeliverEnvelope(n *nwo.Network, entity interface{}, blkNum uint64, channel string) *common.Envelope
- func CreateGRPCClient(n *nwo.Network, o *nwo.Orderer) (*comm.GRPCClient, error)
- func Deliver(n *nwo.Network, o *nwo.Orderer, env *common.Envelope) (*common.Block, error)
- func FetchBlock(n *nwo.Network, o *nwo.Orderer, seq uint64, channel string) *common.Block
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 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 Deliver ¶
Deliver sends given env to Deliver API of specified orderer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.