Versions in this module Expand all Collapse all v2 v2.3.2 Nov 21, 2021 Changes in this version + type FakeConsenterSupport struct + AppendStub func(*common.Block) error + BlockCutterStub func() blockcutter.Receiver + BlockStub func(uint64) *common.Block + ChannelConfigStub func() channelconfig.Channel + ChannelIDStub func() string + ClassifyMsgStub func(*common.ChannelHeader) msgprocessor.Classification + CreateNextBlockStub func([]*common.Envelope) *common.Block + HeightStub func() uint64 + ProcessConfigMsgStub func(*common.Envelope) (*common.Envelope, uint64, error) + ProcessConfigUpdateMsgStub func(*common.Envelope) (*common.Envelope, uint64, error) + ProcessNormalMsgStub func(*common.Envelope) (uint64, error) + SequenceStub func() uint64 + SerializeStub func() ([]byte, error) + SharedConfigStub func() channelconfig.Orderer + SignStub func([]byte) ([]byte, error) + VerifyBlockSignatureStub func([]*protoutil.SignedData, *common.ConfigEnvelope) error + WriteBlockStub func(*common.Block, []byte) + WriteConfigBlockStub func(*common.Block, []byte) + func (fake *FakeConsenterSupport) Append(arg1 *common.Block) error + func (fake *FakeConsenterSupport) AppendArgsForCall(i int) *common.Block + func (fake *FakeConsenterSupport) AppendCallCount() int + func (fake *FakeConsenterSupport) AppendCalls(stub func(*common.Block) error) + func (fake *FakeConsenterSupport) AppendReturns(result1 error) + func (fake *FakeConsenterSupport) AppendReturnsOnCall(i int, result1 error) + func (fake *FakeConsenterSupport) Block(arg1 uint64) *common.Block + func (fake *FakeConsenterSupport) BlockArgsForCall(i int) uint64 + func (fake *FakeConsenterSupport) BlockCallCount() int + func (fake *FakeConsenterSupport) BlockCalls(stub func(uint64) *common.Block) + func (fake *FakeConsenterSupport) BlockCutter() blockcutter.Receiver + func (fake *FakeConsenterSupport) BlockCutterCallCount() int + func (fake *FakeConsenterSupport) BlockCutterCalls(stub func() blockcutter.Receiver) + func (fake *FakeConsenterSupport) BlockCutterReturns(result1 blockcutter.Receiver) + func (fake *FakeConsenterSupport) BlockCutterReturnsOnCall(i int, result1 blockcutter.Receiver) + func (fake *FakeConsenterSupport) BlockReturns(result1 *common.Block) + func (fake *FakeConsenterSupport) BlockReturnsOnCall(i int, result1 *common.Block) + func (fake *FakeConsenterSupport) ChannelConfig() channelconfig.Channel + func (fake *FakeConsenterSupport) ChannelConfigCallCount() int + func (fake *FakeConsenterSupport) ChannelConfigCalls(stub func() channelconfig.Channel) + func (fake *FakeConsenterSupport) ChannelConfigReturns(result1 channelconfig.Channel) + func (fake *FakeConsenterSupport) ChannelConfigReturnsOnCall(i int, result1 channelconfig.Channel) + func (fake *FakeConsenterSupport) ChannelID() string + func (fake *FakeConsenterSupport) ChannelIDCallCount() int + func (fake *FakeConsenterSupport) ChannelIDCalls(stub func() string) + func (fake *FakeConsenterSupport) ChannelIDReturns(result1 string) + func (fake *FakeConsenterSupport) ChannelIDReturnsOnCall(i int, result1 string) + func (fake *FakeConsenterSupport) ClassifyMsg(arg1 *common.ChannelHeader) msgprocessor.Classification + func (fake *FakeConsenterSupport) ClassifyMsgArgsForCall(i int) *common.ChannelHeader + func (fake *FakeConsenterSupport) ClassifyMsgCallCount() int + func (fake *FakeConsenterSupport) ClassifyMsgCalls(stub func(*common.ChannelHeader) msgprocessor.Classification) + func (fake *FakeConsenterSupport) ClassifyMsgReturns(result1 msgprocessor.Classification) + func (fake *FakeConsenterSupport) ClassifyMsgReturnsOnCall(i int, result1 msgprocessor.Classification) + func (fake *FakeConsenterSupport) CreateNextBlock(arg1 []*common.Envelope) *common.Block + func (fake *FakeConsenterSupport) CreateNextBlockArgsForCall(i int) []*common.Envelope + func (fake *FakeConsenterSupport) CreateNextBlockCallCount() int + func (fake *FakeConsenterSupport) CreateNextBlockCalls(stub func([]*common.Envelope) *common.Block) + func (fake *FakeConsenterSupport) CreateNextBlockReturns(result1 *common.Block) + func (fake *FakeConsenterSupport) CreateNextBlockReturnsOnCall(i int, result1 *common.Block) + func (fake *FakeConsenterSupport) Height() uint64 + func (fake *FakeConsenterSupport) HeightCallCount() int + func (fake *FakeConsenterSupport) HeightCalls(stub func() uint64) + func (fake *FakeConsenterSupport) HeightReturns(result1 uint64) + func (fake *FakeConsenterSupport) HeightReturnsOnCall(i int, result1 uint64) + func (fake *FakeConsenterSupport) Invocations() map[string][][]interface{} + func (fake *FakeConsenterSupport) ProcessConfigMsg(arg1 *common.Envelope) (*common.Envelope, uint64, error) + func (fake *FakeConsenterSupport) ProcessConfigMsgArgsForCall(i int) *common.Envelope + func (fake *FakeConsenterSupport) ProcessConfigMsgCallCount() int + func (fake *FakeConsenterSupport) ProcessConfigMsgCalls(stub func(*common.Envelope) (*common.Envelope, uint64, error)) + func (fake *FakeConsenterSupport) ProcessConfigMsgReturns(result1 *common.Envelope, result2 uint64, result3 error) + func (fake *FakeConsenterSupport) ProcessConfigMsgReturnsOnCall(i int, result1 *common.Envelope, result2 uint64, result3 error) + func (fake *FakeConsenterSupport) ProcessConfigUpdateMsg(arg1 *common.Envelope) (*common.Envelope, uint64, error) + func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgArgsForCall(i int) *common.Envelope + func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgCallCount() int + func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgCalls(stub func(*common.Envelope) (*common.Envelope, uint64, error)) + func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgReturns(result1 *common.Envelope, result2 uint64, result3 error) + func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgReturnsOnCall(i int, result1 *common.Envelope, result2 uint64, result3 error) + func (fake *FakeConsenterSupport) ProcessNormalMsg(arg1 *common.Envelope) (uint64, error) + func (fake *FakeConsenterSupport) ProcessNormalMsgArgsForCall(i int) *common.Envelope + func (fake *FakeConsenterSupport) ProcessNormalMsgCallCount() int + func (fake *FakeConsenterSupport) ProcessNormalMsgCalls(stub func(*common.Envelope) (uint64, error)) + func (fake *FakeConsenterSupport) ProcessNormalMsgReturns(result1 uint64, result2 error) + func (fake *FakeConsenterSupport) ProcessNormalMsgReturnsOnCall(i int, result1 uint64, result2 error) + func (fake *FakeConsenterSupport) Sequence() uint64 + func (fake *FakeConsenterSupport) SequenceCallCount() int + func (fake *FakeConsenterSupport) SequenceCalls(stub func() uint64) + func (fake *FakeConsenterSupport) SequenceReturns(result1 uint64) + func (fake *FakeConsenterSupport) SequenceReturnsOnCall(i int, result1 uint64) + func (fake *FakeConsenterSupport) Serialize() ([]byte, error) + func (fake *FakeConsenterSupport) SerializeCallCount() int + func (fake *FakeConsenterSupport) SerializeCalls(stub func() ([]byte, error)) + func (fake *FakeConsenterSupport) SerializeReturns(result1 []byte, result2 error) + func (fake *FakeConsenterSupport) SerializeReturnsOnCall(i int, result1 []byte, result2 error) + func (fake *FakeConsenterSupport) SharedConfig() channelconfig.Orderer + func (fake *FakeConsenterSupport) SharedConfigCallCount() int + func (fake *FakeConsenterSupport) SharedConfigCalls(stub func() channelconfig.Orderer) + func (fake *FakeConsenterSupport) SharedConfigReturns(result1 channelconfig.Orderer) + func (fake *FakeConsenterSupport) SharedConfigReturnsOnCall(i int, result1 channelconfig.Orderer) + func (fake *FakeConsenterSupport) Sign(arg1 []byte) ([]byte, error) + func (fake *FakeConsenterSupport) SignArgsForCall(i int) []byte + func (fake *FakeConsenterSupport) SignCallCount() int + func (fake *FakeConsenterSupport) SignCalls(stub func([]byte) ([]byte, error)) + func (fake *FakeConsenterSupport) SignReturns(result1 []byte, result2 error) + func (fake *FakeConsenterSupport) SignReturnsOnCall(i int, result1 []byte, result2 error) + func (fake *FakeConsenterSupport) VerifyBlockSignature(arg1 []*protoutil.SignedData, arg2 *common.ConfigEnvelope) error + func (fake *FakeConsenterSupport) VerifyBlockSignatureArgsForCall(i int) ([]*protoutil.SignedData, *common.ConfigEnvelope) + func (fake *FakeConsenterSupport) VerifyBlockSignatureCallCount() int + func (fake *FakeConsenterSupport) VerifyBlockSignatureCalls(stub func([]*protoutil.SignedData, *common.ConfigEnvelope) error) + func (fake *FakeConsenterSupport) VerifyBlockSignatureReturns(result1 error) + func (fake *FakeConsenterSupport) VerifyBlockSignatureReturnsOnCall(i int, result1 error) + func (fake *FakeConsenterSupport) WriteBlock(arg1 *common.Block, arg2 []byte) + func (fake *FakeConsenterSupport) WriteBlockArgsForCall(i int) (*common.Block, []byte) + func (fake *FakeConsenterSupport) WriteBlockCallCount() int + func (fake *FakeConsenterSupport) WriteBlockCalls(stub func(*common.Block, []byte)) + func (fake *FakeConsenterSupport) WriteConfigBlock(arg1 *common.Block, arg2 []byte) + func (fake *FakeConsenterSupport) WriteConfigBlockArgsForCall(i int) (*common.Block, []byte) + func (fake *FakeConsenterSupport) WriteConfigBlockCallCount() int + func (fake *FakeConsenterSupport) WriteConfigBlockCalls(stub func(*common.Block, []byte)) Other modules containing this package github.com/waszqt/fabric