36 #undef ELECTRONEUM_DEFAULT_LOG_CATEGORY 37 #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "verify" 48 MERROR(
"Failed to parse transaction");
54 MERROR(
"Transaction is coinbase");
57 std::set<uint64_t> rct_indices;
60 for (
const auto &txin : tx.
vin)
69 rct_indices.insert(offset);
73 if (tx.
version < 3 && n_indices <= 10)
75 MERROR(
"n_indices is only " << n_indices);
bool is_coinbase(const transaction &tx)
std::vector< uint64_t > key_offsets
std::vector< uint64_t > relative_output_offsets_to_absolute(const std::vector< uint64_t > &off)
bool tx_sanity_check(Blockchain &blockchain, const cryptonote::blobdata &tx_blob)
Holds cryptonote related classes and helpers.
std::vector< txin_v > vin
unsigned __int64 uint64_t
bool parse_and_validate_tx_from_blob(const blobdata &tx_blob, transaction &tx)