|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
//
|
|
|
|
|
// Created by marcin on 5/11/15.
|
|
|
|
|
// Created by mwo on 5/11/15.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#ifndef XMREG01_TOOLS_H
|
|
|
|
@ -37,6 +37,7 @@
|
|
|
|
|
*/
|
|
|
|
|
namespace xmreg
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
using namespace cryptonote;
|
|
|
|
|
using namespace crypto;
|
|
|
|
|
using namespace std;
|
|
|
|
@ -60,25 +61,12 @@ namespace xmreg
|
|
|
|
|
|
|
|
|
|
bool handle_output(uint64_t unlock_time, const crypto::public_key &pubkey)
|
|
|
|
|
{
|
|
|
|
|
//check tx unlock time
|
|
|
|
|
// if (!m_bch.is_tx_spendtime_unlocked(unlock_time))
|
|
|
|
|
// {
|
|
|
|
|
// LOG_PRINT_L1("One of outputs for one of inputs has wrong tx.unlock_time = " << unlock_time);
|
|
|
|
|
// return false;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
m_output_keys.push_back(pubkey);
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template <typename T>
|
|
|
|
|
bool
|
|
|
|
|
parse_str_secret_key(const string& key_str, T& secret_key);
|
|
|
|
|