Documentation ¶
Index ¶
- func NewBlock(channelID string) *cb.Block
- func NewBlockEvent(channelID string) *pb.Event
- func NewFilteredBlock(channelID string, filteredTx ...*pb.FilteredTransaction) *pb.FilteredBlock
- func NewFilteredBlockEvent(channelID string, filteredTx ...*pb.FilteredTransaction) *pb.Event
- func NewFilteredTx(txID string, txValidationCode pb.TxValidationCode) *pb.FilteredTransaction
- func NewFilteredTxWithCCEvent(txID, ccID, event string) *pb.FilteredTransaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlockEvent ¶
NewBlockEvent returns a new mock block event initialized with the given channel
func NewFilteredBlock ¶
func NewFilteredBlock(channelID string, filteredTx ...*pb.FilteredTransaction) *pb.FilteredBlock
NewFilteredBlock returns a new mock filtered block initialized with the given channel and filtered transactions
func NewFilteredBlockEvent ¶
func NewFilteredBlockEvent(channelID string, filteredTx ...*pb.FilteredTransaction) *pb.Event
NewFilteredBlockEvent returns a new mock filtered block event initialized with the given channel and filtered transactions
func NewFilteredTx ¶
func NewFilteredTx(txID string, txValidationCode pb.TxValidationCode) *pb.FilteredTransaction
NewFilteredTx returns a new mock filtered transaction
func NewFilteredTxWithCCEvent ¶
func NewFilteredTxWithCCEvent(txID, ccID, event string) *pb.FilteredTransaction
NewFilteredTxWithCCEvent returns a new mock filtered transaction with the given chaincode event
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.