TransactionInput

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransactionInput

type TransactionInput struct {
	TransactionId []byte
	Index         int
	// contains filtered or unexported fields
}

func (TransactionInput) Clone

*

Clone returns a deep copy of the TransactionInput.

Returns:
	TransactionInput: A deep copy of the TransactionInput.

func (TransactionInput) EqualTo

func (tx TransactionInput) EqualTo(other TransactionInput) bool

*

EqualTo checks if the TransactionInput is equal to another TransactionInput.

Params:
	other TransactionInput: The TransactionInput to compare.

Returns:
	bool: True if the TransactionInput is equal to the other TransactionInput, false otherwise.

func (TransactionInput) LessThan

func (tx TransactionInput) LessThan(other TransactionInput) bool

*

LessThan checks if the TransacctionInput is less than
another TransactionInput based on index.

Params:
	other TransactionInput: The TransactionInput to compare.

Returns:
	bool: True if the TransactionInput is less than the other TransactionInput, false otherwise.

func (TransactionInput) String

func (tx TransactionInput) String() string

*

String returns a string representationof the TransactionInput
in the format "transaction_id.index".

Jump to

Keyboard shortcuts

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