mscpbdsl

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UponMessageReceived

func UponMessageReceived[W types.Message_TypeWrapper[M], M any](m dsl.Module, handler func(from types1.NodeID, msg *M) error)

func UponProvideBatchMessageReceived

func UponProvideBatchMessageReceived(m dsl.Module, handler func(from types1.NodeID, txs []*types3.Transaction, reqId uint64, batchId types4.BatchID) error)

func UponRequestBatchMessageReceived

func UponRequestBatchMessageReceived(m dsl.Module, handler func(from types1.NodeID, batchId types4.BatchID, reqId uint64) error)

func UponRequestSigMessageReceived

func UponRequestSigMessageReceived(m dsl.Module, handler func(from types1.NodeID, txs []*types3.Transaction, reqId uint64) error)

func UponSigMessageReceived

func UponSigMessageReceived(m dsl.Module, handler func(from types1.NodeID, signature []uint8, reqId uint64) error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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