#include <wallet_errors.h>
Definition at line 722 of file wallet_errors.h.
◆ tx_too_big() [1/2]
Definition at line 724 of file wallet_errors.h.
727 , m_tx_valid(true)
730 {
731 }
uint64_t get_transaction_weight(const transaction &tx, size_t blob_size)
◆ 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 |
◆ to_string()
| std::string tools::error::tx_too_big::to_string |
( |
| ) |
const |
|
inline |
Definition at line 746 of file wallet_errors.h.
747 {
748 std::ostringstream ss;
750 ", tx_weight_limit = " << m_tx_weight_limit <<
751 ", tx weight = " << m_tx_weight;
752 if (m_tx_valid)
753 {
754 cryptonote::transaction
tx = m_tx;
756 }
757 return ss.str();
758 }
std::string obj_to_json_str(T &obj)
◆ tx()
◆ 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 |
The documentation for this struct was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/wallet/wallet_errors.h