mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
some simple reformating
This commit is contained in:
parent
0a415a466c
commit
8b45f9fe49
2 changed files with 3296 additions and 3309 deletions
|
@ -3638,7 +3638,6 @@ namespace xmreg {
|
||||||
}};
|
}};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
16
src/tools.h
16
src/tools.h
|
@ -1,5 +1,5 @@
|
||||||
//
|
//
|
||||||
// Created by marcin on 5/11/15.
|
// Created by mwo on 5/11/15.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef XMREG01_TOOLS_H
|
#ifndef XMREG01_TOOLS_H
|
||||||
|
@ -37,6 +37,7 @@
|
||||||
*/
|
*/
|
||||||
namespace xmreg
|
namespace xmreg
|
||||||
{
|
{
|
||||||
|
|
||||||
using namespace cryptonote;
|
using namespace cryptonote;
|
||||||
using namespace crypto;
|
using namespace crypto;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -60,25 +61,12 @@ namespace xmreg
|
||||||
|
|
||||||
bool handle_output(uint64_t unlock_time, const crypto::public_key &pubkey)
|
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);
|
m_output_keys.push_back(pubkey);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
bool
|
bool
|
||||||
parse_str_secret_key(const string& key_str, T& secret_key);
|
parse_str_secret_key(const string& key_str, T& secret_key);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue