Versions in this module Expand all Collapse all v1 v1.5.6 Oct 3, 2021 Changes in this version + type BlockVerifier struct + VerifyBlockStub func(common.ChannelID, uint64, *commona.Block) error + func (fake *BlockVerifier) Invocations() map[string][][]interface{} + func (fake *BlockVerifier) VerifyBlock(arg1 common.ChannelID, arg2 uint64, arg3 *commona.Block) error + func (fake *BlockVerifier) VerifyBlockArgsForCall(i int) (common.ChannelID, uint64, *commona.Block) + func (fake *BlockVerifier) VerifyBlockCallCount() int + func (fake *BlockVerifier) VerifyBlockCalls(stub func(common.ChannelID, uint64, *commona.Block) error) + func (fake *BlockVerifier) VerifyBlockReturns(result1 error) + func (fake *BlockVerifier) VerifyBlockReturnsOnCall(i int, result1 error) + type DeliverClient struct + CloseSendStub func() error + ContextStub func() context.Context + HeaderStub func() (metadata.MD, error) + RecvMsgStub func(interface{}) error + RecvStub func() (*orderer.DeliverResponse, error) + SendMsgStub func(interface{}) error + SendStub func(*common.Envelope) error + TrailerStub func() metadata.MD + func (fake *DeliverClient) CloseSend() error + func (fake *DeliverClient) CloseSendCallCount() int + func (fake *DeliverClient) CloseSendCalls(stub func() error) + func (fake *DeliverClient) CloseSendReturns(result1 error) + func (fake *DeliverClient) CloseSendReturnsOnCall(i int, result1 error) + func (fake *DeliverClient) Context() context.Context + func (fake *DeliverClient) ContextCallCount() int + func (fake *DeliverClient) ContextCalls(stub func() context.Context) + func (fake *DeliverClient) ContextReturns(result1 context.Context) + func (fake *DeliverClient) ContextReturnsOnCall(i int, result1 context.Context) + func (fake *DeliverClient) Header() (metadata.MD, error) + func (fake *DeliverClient) HeaderCallCount() int + func (fake *DeliverClient) HeaderCalls(stub func() (metadata.MD, error)) + func (fake *DeliverClient) HeaderReturns(result1 metadata.MD, result2 error) + func (fake *DeliverClient) HeaderReturnsOnCall(i int, result1 metadata.MD, result2 error) + func (fake *DeliverClient) Invocations() map[string][][]interface{} + func (fake *DeliverClient) Recv() (*orderer.DeliverResponse, error) + func (fake *DeliverClient) RecvCallCount() int + func (fake *DeliverClient) RecvCalls(stub func() (*orderer.DeliverResponse, error)) + func (fake *DeliverClient) RecvMsg(arg1 interface{}) error + func (fake *DeliverClient) RecvMsgArgsForCall(i int) interface{} + func (fake *DeliverClient) RecvMsgCallCount() int + func (fake *DeliverClient) RecvMsgCalls(stub func(interface{}) error) + func (fake *DeliverClient) RecvMsgReturns(result1 error) + func (fake *DeliverClient) RecvMsgReturnsOnCall(i int, result1 error) + func (fake *DeliverClient) RecvReturns(result1 *orderer.DeliverResponse, result2 error) + func (fake *DeliverClient) RecvReturnsOnCall(i int, result1 *orderer.DeliverResponse, result2 error) + func (fake *DeliverClient) Send(arg1 *common.Envelope) error + func (fake *DeliverClient) SendArgsForCall(i int) *common.Envelope + func (fake *DeliverClient) SendCallCount() int + func (fake *DeliverClient) SendCalls(stub func(*common.Envelope) error) + func (fake *DeliverClient) SendMsg(arg1 interface{}) error + func (fake *DeliverClient) SendMsgArgsForCall(i int) interface{} + func (fake *DeliverClient) SendMsgCallCount() int + func (fake *DeliverClient) SendMsgCalls(stub func(interface{}) error) + func (fake *DeliverClient) SendMsgReturns(result1 error) + func (fake *DeliverClient) SendMsgReturnsOnCall(i int, result1 error) + func (fake *DeliverClient) SendReturns(result1 error) + func (fake *DeliverClient) SendReturnsOnCall(i int, result1 error) + func (fake *DeliverClient) Trailer() metadata.MD + func (fake *DeliverClient) TrailerCallCount() int + func (fake *DeliverClient) TrailerCalls(stub func() metadata.MD) + func (fake *DeliverClient) TrailerReturns(result1 metadata.MD) + func (fake *DeliverClient) TrailerReturnsOnCall(i int, result1 metadata.MD) + type DeliverStreamer struct + DeliverStub func(context.Context, *grpc.ClientConn) (orderer.AtomicBroadcast_DeliverClient, error) + func (fake *DeliverStreamer) Deliver(arg1 context.Context, arg2 *grpc.ClientConn) (orderer.AtomicBroadcast_DeliverClient, error) + func (fake *DeliverStreamer) DeliverArgsForCall(i int) (context.Context, *grpc.ClientConn) + func (fake *DeliverStreamer) DeliverCallCount() int + func (fake *DeliverStreamer) DeliverCalls(...) + func (fake *DeliverStreamer) DeliverReturns(result1 orderer.AtomicBroadcast_DeliverClient, result2 error) + func (fake *DeliverStreamer) DeliverReturnsOnCall(i int, result1 orderer.AtomicBroadcast_DeliverClient, result2 error) + func (fake *DeliverStreamer) Invocations() map[string][][]interface{} + type Dialer struct + DialStub func(string, *x509.CertPool) (*grpc.ClientConn, error) + func (fake *Dialer) Dial(arg1 string, arg2 *x509.CertPool) (*grpc.ClientConn, error) + func (fake *Dialer) DialArgsForCall(i int) (string, *x509.CertPool) + func (fake *Dialer) DialCallCount() int + func (fake *Dialer) DialCalls(stub func(string, *x509.CertPool) (*grpc.ClientConn, error)) + func (fake *Dialer) DialReturns(result1 *grpc.ClientConn, result2 error) + func (fake *Dialer) DialReturnsOnCall(i int, result1 *grpc.ClientConn, result2 error) + func (fake *Dialer) Invocations() map[string][][]interface{} + type GossipServiceAdapter struct + AddPayloadStub func(string, *gossip.Payload) error + GossipStub func(*gossip.GossipMessage) + func (fake *GossipServiceAdapter) AddPayload(arg1 string, arg2 *gossip.Payload) error + func (fake *GossipServiceAdapter) AddPayloadArgsForCall(i int) (string, *gossip.Payload) + func (fake *GossipServiceAdapter) AddPayloadCallCount() int + func (fake *GossipServiceAdapter) AddPayloadCalls(stub func(string, *gossip.Payload) error) + func (fake *GossipServiceAdapter) AddPayloadReturns(result1 error) + func (fake *GossipServiceAdapter) AddPayloadReturnsOnCall(i int, result1 error) + func (fake *GossipServiceAdapter) Gossip(arg1 *gossip.GossipMessage) + func (fake *GossipServiceAdapter) GossipArgsForCall(i int) *gossip.GossipMessage + func (fake *GossipServiceAdapter) GossipCallCount() int + func (fake *GossipServiceAdapter) GossipCalls(stub func(*gossip.GossipMessage)) + func (fake *GossipServiceAdapter) Invocations() map[string][][]interface{} + type LedgerInfo struct + LedgerHeightStub func() (uint64, error) + func (fake *LedgerInfo) Invocations() map[string][][]interface{} + func (fake *LedgerInfo) LedgerHeight() (uint64, error) + func (fake *LedgerInfo) LedgerHeightCallCount() int + func (fake *LedgerInfo) LedgerHeightCalls(stub func() (uint64, error)) + func (fake *LedgerInfo) LedgerHeightReturns(result1 uint64, result2 error) + func (fake *LedgerInfo) LedgerHeightReturnsOnCall(i int, result1 uint64, result2 error) + type OrdererConnectionSource struct + RandomEndpointStub func() (*orderers.Endpoint, error) + func (fake *OrdererConnectionSource) Invocations() map[string][][]interface{} + func (fake *OrdererConnectionSource) RandomEndpoint() (*orderers.Endpoint, error) + func (fake *OrdererConnectionSource) RandomEndpointCallCount() int + func (fake *OrdererConnectionSource) RandomEndpointCalls(stub func() (*orderers.Endpoint, error)) + func (fake *OrdererConnectionSource) RandomEndpointReturns(result1 *orderers.Endpoint, result2 error) + func (fake *OrdererConnectionSource) RandomEndpointReturnsOnCall(i int, result1 *orderers.Endpoint, result2 error) + type Signer struct + SerializeStub func() ([]byte, error) + SignStub func([]byte) ([]byte, error) + func (fake *Signer) Invocations() map[string][][]interface{} + func (fake *Signer) Serialize() ([]byte, error) + func (fake *Signer) SerializeCallCount() int + func (fake *Signer) SerializeCalls(stub func() ([]byte, error)) + func (fake *Signer) SerializeReturns(result1 []byte, result2 error) + func (fake *Signer) SerializeReturnsOnCall(i int, result1 []byte, result2 error) + func (fake *Signer) Sign(arg1 []byte) ([]byte, error) + func (fake *Signer) SignArgsForCall(i int) []byte + func (fake *Signer) SignCallCount() int + func (fake *Signer) SignCalls(stub func([]byte) ([]byte, error)) + func (fake *Signer) SignReturns(result1 []byte, result2 error) + func (fake *Signer) SignReturnsOnCall(i int, result1 []byte, result2 error) + type Sleeper struct + SleepStub func(time.Duration) + func (fake *Sleeper) Invocations() map[string][][]interface{} + func (fake *Sleeper) Sleep(arg1 time.Duration) + func (fake *Sleeper) SleepArgsForCall(i int) time.Duration + func (fake *Sleeper) SleepCallCount() int + func (fake *Sleeper) SleepCalls(stub func(time.Duration))