mock_tss

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_tss is a generated GoMock package.

Package mock_tss is a generated GoMock package.

Package mock_tss is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMessage

type MockMessage struct {
	// contains filtered or unexported fields
}

MockMessage is a mock of Message interface.

func NewMockMessage

func NewMockMessage(ctrl *gomock.Controller) *MockMessage

NewMockMessage creates a new mock instance.

func (*MockMessage) EXPECT

func (m *MockMessage) EXPECT() *MockMessageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMessage) GetFrom

func (m *MockMessage) GetFrom() *tss.PartyID

GetFrom mocks base method.

func (*MockMessage) GetSessionId

func (m *MockMessage) GetSessionId() *int.Int

GetSessionId mocks base method.

func (*MockMessage) GetTo

func (m *MockMessage) GetTo() []*tss.PartyID

GetTo mocks base method.

func (*MockMessage) IsBroadcast

func (m *MockMessage) IsBroadcast() bool

IsBroadcast mocks base method.

func (*MockMessage) IsToOldAndNewCommittees

func (m *MockMessage) IsToOldAndNewCommittees() bool

IsToOldAndNewCommittees mocks base method.

func (*MockMessage) IsToOldCommittee

func (m *MockMessage) IsToOldCommittee() bool

IsToOldCommittee mocks base method.

func (*MockMessage) String

func (m *MockMessage) String() string

String mocks base method.

func (*MockMessage) Type

func (m *MockMessage) Type() string

Type mocks base method.

func (*MockMessage) WireBytes

func (m *MockMessage) WireBytes() ([]byte, *tss.MessageRouting, error)

WireBytes mocks base method.

func (*MockMessage) WireMsg

func (m *MockMessage) WireMsg() *tss.MessageWrapper

WireMsg mocks base method.

type MockMessageMockRecorder

type MockMessageMockRecorder struct {
	// contains filtered or unexported fields
}

MockMessageMockRecorder is the mock recorder for MockMessage.

func (*MockMessageMockRecorder) GetFrom

func (mr *MockMessageMockRecorder) GetFrom() *gomock.Call

GetFrom indicates an expected call of GetFrom.

func (*MockMessageMockRecorder) GetSessionId

func (mr *MockMessageMockRecorder) GetSessionId() *gomock.Call

GetSessionId indicates an expected call of GetSessionId.

func (*MockMessageMockRecorder) GetTo

func (mr *MockMessageMockRecorder) GetTo() *gomock.Call

GetTo indicates an expected call of GetTo.

func (*MockMessageMockRecorder) IsBroadcast

func (mr *MockMessageMockRecorder) IsBroadcast() *gomock.Call

IsBroadcast indicates an expected call of IsBroadcast.

func (*MockMessageMockRecorder) IsToOldAndNewCommittees

func (mr *MockMessageMockRecorder) IsToOldAndNewCommittees() *gomock.Call

IsToOldAndNewCommittees indicates an expected call of IsToOldAndNewCommittees.

func (*MockMessageMockRecorder) IsToOldCommittee

func (mr *MockMessageMockRecorder) IsToOldCommittee() *gomock.Call

IsToOldCommittee indicates an expected call of IsToOldCommittee.

func (*MockMessageMockRecorder) String

func (mr *MockMessageMockRecorder) String() *gomock.Call

String indicates an expected call of String.

func (*MockMessageMockRecorder) Type

func (mr *MockMessageMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

func (*MockMessageMockRecorder) WireBytes

func (mr *MockMessageMockRecorder) WireBytes() *gomock.Call

WireBytes indicates an expected call of WireBytes.

func (*MockMessageMockRecorder) WireMsg

func (mr *MockMessageMockRecorder) WireMsg() *gomock.Call

WireMsg indicates an expected call of WireMsg.

type MockParty

type MockParty struct {
	// contains filtered or unexported fields
}

MockParty is a mock of Party interface.

func NewMockParty

func NewMockParty(ctrl *gomock.Controller) *MockParty

NewMockParty creates a new mock instance.

func (*MockParty) EXPECT

func (m *MockParty) EXPECT() *MockPartyMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockParty) Start

func (m *MockParty) Start() *tss.Error

Start mocks base method.

func (*MockParty) UpdateFromBytes

func (m *MockParty) UpdateFromBytes(wireBytes []byte, from *tss.PartyID, isBroadcast bool, sessionID *big.Int) (bool, *tss.Error)

UpdateFromBytes mocks base method.

func (*MockParty) WaitingFor

func (m *MockParty) WaitingFor() []*tss.PartyID

WaitingFor mocks base method.

type MockPartyMockRecorder

type MockPartyMockRecorder struct {
	// contains filtered or unexported fields
}

MockPartyMockRecorder is the mock recorder for MockParty.

func (*MockPartyMockRecorder) Start

func (mr *MockPartyMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockPartyMockRecorder) UpdateFromBytes

func (mr *MockPartyMockRecorder) UpdateFromBytes(wireBytes, from, isBroadcast, sessionID any) *gomock.Call

UpdateFromBytes indicates an expected call of UpdateFromBytes.

func (*MockPartyMockRecorder) WaitingFor

func (mr *MockPartyMockRecorder) WaitingFor() *gomock.Call

WaitingFor indicates an expected call of WaitingFor.

type MockSaveDataFetcher

type MockSaveDataFetcher struct {
	// contains filtered or unexported fields
}

MockSaveDataFetcher is a mock of SaveDataFetcher interface.

func NewMockSaveDataFetcher

func NewMockSaveDataFetcher(ctrl *gomock.Controller) *MockSaveDataFetcher

NewMockSaveDataFetcher creates a new mock instance.

func (*MockSaveDataFetcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSaveDataFetcher) GetKeyshare

func (m *MockSaveDataFetcher) GetKeyshare() (keyshare.ECDSAKeyshare, error)

GetKeyshare mocks base method.

func (*MockSaveDataFetcher) LockKeyshare

func (m *MockSaveDataFetcher) LockKeyshare()

LockKeyshare mocks base method.

func (*MockSaveDataFetcher) UnlockKeyshare

func (m *MockSaveDataFetcher) UnlockKeyshare()

UnlockKeyshare mocks base method.

type MockSaveDataFetcherMockRecorder

type MockSaveDataFetcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockSaveDataFetcherMockRecorder is the mock recorder for MockSaveDataFetcher.

func (*MockSaveDataFetcherMockRecorder) GetKeyshare

func (mr *MockSaveDataFetcherMockRecorder) GetKeyshare() *gomock.Call

GetKeyshare indicates an expected call of GetKeyshare.

func (*MockSaveDataFetcherMockRecorder) LockKeyshare

func (mr *MockSaveDataFetcherMockRecorder) LockKeyshare() *gomock.Call

LockKeyshare indicates an expected call of LockKeyshare.

func (*MockSaveDataFetcherMockRecorder) UnlockKeyshare

func (mr *MockSaveDataFetcherMockRecorder) UnlockKeyshare() *gomock.Call

UnlockKeyshare indicates an expected call of UnlockKeyshare.

Jump to

Keyboard shortcuts

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