|
|
|
@ -79,6 +79,22 @@ std::vector<std::string> PendingTransactionImpl::txid() const
|
|
|
|
|
return txid;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::vector<std::string> PendingTransactionImpl::hex() const
|
|
|
|
|
{
|
|
|
|
|
std::vector<std::string> hexs;
|
|
|
|
|
for (const auto &pt: m_pending_tx)
|
|
|
|
|
hexs.push_back(epee::string_tools::buff_to_hex_nodelimer(cryptonote::tx_to_blob(pt.tx)));
|
|
|
|
|
return hexs;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::vector<std::string> PendingTransactionImpl::txKey() const
|
|
|
|
|
{
|
|
|
|
|
std::vector<std::string> keys;
|
|
|
|
|
for (const auto& pt: m_pending_tx)
|
|
|
|
|
keys.push_back(epee::string_tools::pod_to_hex(pt.tx_key));
|
|
|
|
|
return keys;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool PendingTransactionImpl::commit(const std::string &filename, bool overwrite)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|