Electroneum
cryptonote::tx_input_t Struct Reference

#include <blockchain_db.h>

Public Member Functions

 tx_input_t ()
 
bool is_empty () const
 

Public Attributes

crypto::hash tx_hash
 
uint64_t in_index
 

Detailed Description

Definition at line 175 of file blockchain_db.h.

Constructor & Destructor Documentation

◆ tx_input_t()

cryptonote::tx_input_t::tx_input_t ( )
inline

Definition at line 180 of file blockchain_db.h.

180 : tx_hash(crypto::null_hash), in_index(0) {}

Member Function Documentation

◆ is_empty()

bool cryptonote::tx_input_t::is_empty ( ) const
inline

Definition at line 182 of file blockchain_db.h.

182  {
183  return tx_hash == crypto::null_hash && in_index == 0;
184  }

Member Data Documentation

◆ in_index

uint64_t cryptonote::tx_input_t::in_index

Definition at line 178 of file blockchain_db.h.

◆ tx_hash

crypto::hash cryptonote::tx_input_t::tx_hash

Definition at line 177 of file blockchain_db.h.


The documentation for this struct was generated from the following file: