Files
zeekay 7cf87b230b node-unified is the node
The module already called itself github.com/luxfi/node while containing no node
in Go: cmd/luxd was twenty-one lines that printed the size of a few types, and
the Go column of the matrix measured a VM plugin. A repo that fetches the thing
it claims to be has not replaced it, so the Go sources move in — 1515 files,
the daemon and everything under it — and the build reaches outside this module
for nothing.

Rust and C++ sit beside it unchanged and are still measured against it by the
differential. That is the point of one repo: the reference implementation and
the two ports are the same checkout, so parity is a thing you can run rather
than a thing you assert.

Verified: builds, and the closure carries no lux-private — checked at build time
rather than believed. The daemon starts twelve chains on a local network
(P X C Q Z A B G K M F, plus D through its plugin) and reports healthy.
2026-09-07 16:15:25 -07:00

98 lines
3.0 KiB
Go

// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/luxfi/node/message (interfaces: OutboundMessage)
//
// Generated by this command:
//
// mockgen -package=messagemock -destination=messagemock/outbound_message.go -mock_names=OutboundMessage=OutboundMessage . OutboundMessage
//
// Package messagemock is a generated GoMock package.
package messagemock
import (
reflect "reflect"
message "github.com/luxfi/node/message"
gomock "go.uber.org/mock/gomock"
)
// OutboundMessage is a mock of OutboundMessage interface.
type OutboundMessage struct {
ctrl *gomock.Controller
recorder *OutboundMessageMockRecorder
isgomock struct{}
}
// OutboundMessageMockRecorder is the mock recorder for OutboundMessage.
type OutboundMessageMockRecorder struct {
mock *OutboundMessage
}
// NewOutboundMessage creates a new mock instance.
func NewOutboundMessage(ctrl *gomock.Controller) *OutboundMessage {
mock := &OutboundMessage{ctrl: ctrl}
mock.recorder = &OutboundMessageMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *OutboundMessage) EXPECT() *OutboundMessageMockRecorder {
return m.recorder
}
// BypassThrottling mocks base method.
func (m *OutboundMessage) BypassThrottling() bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "BypassThrottling")
ret0, _ := ret[0].(bool)
return ret0
}
// BypassThrottling indicates an expected call of BypassThrottling.
func (mr *OutboundMessageMockRecorder) BypassThrottling() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BypassThrottling", reflect.TypeOf((*OutboundMessage)(nil).BypassThrottling))
}
// Bytes mocks base method.
func (m *OutboundMessage) Bytes() []byte {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Bytes")
ret0, _ := ret[0].([]byte)
return ret0
}
// Bytes indicates an expected call of Bytes.
func (mr *OutboundMessageMockRecorder) Bytes() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bytes", reflect.TypeOf((*OutboundMessage)(nil).Bytes))
}
// BytesSavedCompression mocks base method.
func (m *OutboundMessage) BytesSavedCompression() int {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "BytesSavedCompression")
ret0, _ := ret[0].(int)
return ret0
}
// BytesSavedCompression indicates an expected call of BytesSavedCompression.
func (mr *OutboundMessageMockRecorder) BytesSavedCompression() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BytesSavedCompression", reflect.TypeOf((*OutboundMessage)(nil).BytesSavedCompression))
}
// Op mocks base method.
func (m *OutboundMessage) Op() message.Op {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Op")
ret0, _ := ret[0].(message.Op)
return ret0
}
// Op indicates an expected call of Op.
func (mr *OutboundMessageMockRecorder) Op() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Op", reflect.TypeOf((*OutboundMessage)(nil).Op))
}