Electroneum
Public Member Functions | Private Attributes | List of all members
tools::error::tx_too_big Struct Reference

#include <wallet_errors.h>

Inheritance diagram for tools::error::tx_too_big:
Inheritance graph
[legend]
Collaboration diagram for tools::error::tx_too_big:
Collaboration graph
[legend]

Public Member Functions

 tx_too_big (std::string &&loc, const cryptonote::transaction &tx, uint64_t tx_weight_limit)
 
 tx_too_big (std::string &&loc, uint64_t tx_weight, uint64_t tx_weight_limit)
 
bool tx_valid () const
 
const cryptonote::transactiontx () const
 
uint64_t tx_weight () const
 
uint64_t tx_weight_limit () const
 
std::string to_string () const
 
- Public Member Functions inherited from tools::error::wallet_error_base< Base >
const std::string & location () const
 
std::string to_string () const
 

Private Attributes

cryptonote::transaction m_tx
 
bool m_tx_valid
 
uint64_t m_tx_weight
 
uint64_t m_tx_weight_limit
 

Additional Inherited Members

- Protected Member Functions inherited from tools::error::transfer_error
 transfer_error (std::string &&loc, const std::string &message)
 
- Protected Member Functions inherited from tools::error::wallet_error_base< Base >
 wallet_error_base (std::string &&loc, const std::string &message)
 

Constructor & Destructor Documentation

◆ tx_too_big() [1/2]

tools::error::tx_too_big::tx_too_big ( std::string &&  loc,
const cryptonote::transaction tx,
uint64_t  tx_weight_limit 
)
inlineexplicit

◆ tx_too_big() [2/2]

tools::error::tx_too_big::tx_too_big ( std::string &&  loc,
uint64_t  tx_weight,
uint64_t  tx_weight_limit 
)
inlineexplicit

Member Function Documentation

◆ to_string()

std::string tools::error::tx_too_big::to_string ( ) const
inline

◆ tx()

const cryptonote::transaction& tools::error::tx_too_big::tx ( ) const
inline

◆ tx_valid()

bool tools::error::tx_too_big::tx_valid ( ) const
inline

◆ tx_weight()

uint64_t tools::error::tx_too_big::tx_weight ( ) const
inline

◆ tx_weight_limit()

uint64_t tools::error::tx_too_big::tx_weight_limit ( ) const
inline

Member Data Documentation

◆ m_tx

cryptonote::transaction tools::error::tx_too_big::m_tx
private

◆ m_tx_valid

bool tools::error::tx_too_big::m_tx_valid
private

◆ m_tx_weight

uint64_t tools::error::tx_too_big::m_tx_weight
private

◆ m_tx_weight_limit

uint64_t tools::error::tx_too_big::m_tx_weight_limit
private

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