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 ¶
func (tx TransactionInput) Clone() TransactionInput
*
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".
Click to show internal directories.
Click to hide internal directories.