Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockPegout
- func (m *MockPegout) ContainsPakEntry(pakEntry *types.ByteData, whitelist string) (bool, error)
- func (m *MockPegout) CreateOnlinePrivateKey() (*types.Privkey, error)
- func (m *MockPegout) CreatePakEntry(accountExtPubkey *types.ExtPubkey, onlinePrivkey *types.Privkey) (*types.PakEntry, error)
- func (m *MockPegout) CreatePegoutAddress(addressType types.AddressType, accountExtPubkey *types.ExtPubkey, ...) (*types.Address, *types.Descriptor, error)
- func (m *MockPegout) CreatePegoutTransaction(utxoList []*types.ElementsUtxoData, pegoutData types.InputConfidentialTxOut, ...) (*types.ConfidentialTx, *types.Address, *types.ConfidentialTx, error)
- func (m *MockPegout) EXPECT() *MockPegoutMockRecorder
- func (m *MockPegout) VerifyPubkeySignature(proposalTx *types.ConfidentialTx, utxoData *types.ElementsUtxoData, ...) (bool, error)
- type MockPegoutMockRecorder
- func (mr *MockPegoutMockRecorder) ContainsPakEntry(pakEntry, whitelist interface{}) *gomock.Call
- func (mr *MockPegoutMockRecorder) CreateOnlinePrivateKey() *gomock.Call
- func (mr *MockPegoutMockRecorder) CreatePakEntry(accountExtPubkey, onlinePrivkey interface{}) *gomock.Call
- func (mr *MockPegoutMockRecorder) CreatePegoutAddress(addressType, accountExtPubkey, addressIndex interface{}) *gomock.Call
- func (mr *MockPegoutMockRecorder) CreatePegoutTransaction(utxoList, pegoutData, sendList, changeAddress, option interface{}) *gomock.Call
- func (mr *MockPegoutMockRecorder) VerifyPubkeySignature(proposalTx, utxoData, signature interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPegout ¶
type MockPegout struct {
// contains filtered or unexported fields
}
MockPegout is a mock of Pegout interface.
func NewMockPegout ¶
func NewMockPegout(ctrl *gomock.Controller) *MockPegout
NewMockPegout creates a new mock instance.
func (*MockPegout) ContainsPakEntry ¶
ContainsPakEntry mocks base method.
func (*MockPegout) CreateOnlinePrivateKey ¶
func (m *MockPegout) CreateOnlinePrivateKey() (*types.Privkey, error)
CreateOnlinePrivateKey mocks base method.
func (*MockPegout) CreatePakEntry ¶
func (m *MockPegout) CreatePakEntry(accountExtPubkey *types.ExtPubkey, onlinePrivkey *types.Privkey) (*types.PakEntry, error)
CreatePakEntry mocks base method.
func (*MockPegout) CreatePegoutAddress ¶
func (m *MockPegout) CreatePegoutAddress(addressType types.AddressType, accountExtPubkey *types.ExtPubkey, addressIndex uint32) (*types.Address, *types.Descriptor, error)
CreatePegoutAddress mocks base method.
func (*MockPegout) CreatePegoutTransaction ¶
func (m *MockPegout) CreatePegoutTransaction(utxoList []*types.ElementsUtxoData, pegoutData types.InputConfidentialTxOut, sendList []*types.InputConfidentialTxOut, changeAddress *string, option *types.PegoutTxOption) (*types.ConfidentialTx, *types.Address, *types.ConfidentialTx, error)
CreatePegoutTransaction mocks base method.
func (*MockPegout) EXPECT ¶
func (m *MockPegout) EXPECT() *MockPegoutMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPegout) VerifyPubkeySignature ¶
func (m *MockPegout) VerifyPubkeySignature(proposalTx *types.ConfidentialTx, utxoData *types.ElementsUtxoData, signature *types.ByteData) (bool, error)
VerifyPubkeySignature mocks base method.
type MockPegoutMockRecorder ¶
type MockPegoutMockRecorder struct {
// contains filtered or unexported fields
}
MockPegoutMockRecorder is the mock recorder for MockPegout.
func (*MockPegoutMockRecorder) ContainsPakEntry ¶
func (mr *MockPegoutMockRecorder) ContainsPakEntry(pakEntry, whitelist interface{}) *gomock.Call
ContainsPakEntry indicates an expected call of ContainsPakEntry.
func (*MockPegoutMockRecorder) CreateOnlinePrivateKey ¶
func (mr *MockPegoutMockRecorder) CreateOnlinePrivateKey() *gomock.Call
CreateOnlinePrivateKey indicates an expected call of CreateOnlinePrivateKey.
func (*MockPegoutMockRecorder) CreatePakEntry ¶
func (mr *MockPegoutMockRecorder) CreatePakEntry(accountExtPubkey, onlinePrivkey interface{}) *gomock.Call
CreatePakEntry indicates an expected call of CreatePakEntry.
func (*MockPegoutMockRecorder) CreatePegoutAddress ¶
func (mr *MockPegoutMockRecorder) CreatePegoutAddress(addressType, accountExtPubkey, addressIndex interface{}) *gomock.Call
CreatePegoutAddress indicates an expected call of CreatePegoutAddress.
func (*MockPegoutMockRecorder) CreatePegoutTransaction ¶
func (mr *MockPegoutMockRecorder) CreatePegoutTransaction(utxoList, pegoutData, sendList, changeAddress, option interface{}) *gomock.Call
CreatePegoutTransaction indicates an expected call of CreatePegoutTransaction.
func (*MockPegoutMockRecorder) VerifyPubkeySignature ¶
func (mr *MockPegoutMockRecorder) VerifyPubkeySignature(proposalTx, utxoData, signature interface{}) *gomock.Call
VerifyPubkeySignature indicates an expected call of VerifyPubkeySignature.