utxo
Package utxo is a generated GoMock package.
import "github.com/luxfi/node/vms/platformvm/utxo"Package utxo is a generated GoMock package.
Functions
NewVerifier
func NewVerifier(clk *mockable.Clock, fx fx.Fx) *verifierNewVerifier creates a new UTXO verifier
Types
Handler
func NewHandler(
ctx context.Context,
clk *mockable.Clock,
fx fx.Fx,
) HandlerMockVerifier
MockVerifier is a mock of Verifier interface.
func NewMockVerifier(ctrl *gomock.Controller) *MockVerifierfunc (m *MockVerifier) EXPECT() *MockVerifierMockRecorderfunc (m *MockVerifier) VerifySpend(arg0 txs.UnsignedTx, arg1 lux.UTXOGetter, arg2 []*lux.TransferableInput, arg3 []*lux.TransferableOutput, arg4 []verify.Verifiable, arg5 map[ids.ID]uint64) errorfunc (m *MockVerifier) VerifySpendUTXOs(arg0 txs.UnsignedTx, arg1 []*lux.UTXO, arg2 []*lux.TransferableInput, arg3 []*lux.TransferableOutput, arg4 []verify.Verifiable, arg5 map[ids.ID]uint64) errorMockVerifierMockRecorder
MockVerifierMockRecorder is the mock recorder for MockVerifier.
func (mr *MockVerifierMockRecorder) VerifySpend(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Callfunc (mr *MockVerifierMockRecorder) VerifySpendUTXOs(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.CallSpender
Spender selects UTXOs and produces inputs/outputs for staking transactions.