forked from lthn/blockchain
minor code cleanup
This commit is contained in:
parent
1196423f02
commit
7fdc82a630
3 changed files with 0 additions and 11 deletions
|
|
@ -1202,15 +1202,6 @@ namespace crypto
|
|||
void add_point(const point_t& point)
|
||||
{
|
||||
m_elements.emplace_back(point.to_public_key());
|
||||
|
||||
// faster?
|
||||
/* static_assert(sizeof point.m_p3 == 5 * sizeof(item_t), "size missmatch");
|
||||
const item_t *p = (item_t*)&point.m_p3;
|
||||
m_elements.emplace_back(p[0]);
|
||||
m_elements.emplace_back(p[1]);
|
||||
m_elements.emplace_back(p[2]);
|
||||
m_elements.emplace_back(p[3]);
|
||||
m_elements.emplace_back(p[4]); */
|
||||
}
|
||||
|
||||
void add_pub_key(const crypto::public_key& pk)
|
||||
|
|
|
|||
|
|
@ -100,7 +100,6 @@ namespace crypto
|
|||
}
|
||||
|
||||
// TODO: refactor with proper OOB handling
|
||||
// TODO: @#@# add domain separation
|
||||
static const point_t& get_generator(bool select_H, size_t index)
|
||||
{
|
||||
if (index >= c_bpp_mn_max)
|
||||
|
|
|
|||
|
|
@ -4508,7 +4508,6 @@ bool blockchain_storage::add_transaction_from_block(const transaction& tx, const
|
|||
<< " (fee: " << (is_coinbase(tx) ? "0 [coinbase]" : print_money_brief(get_tx_fee(tx))) << ")");
|
||||
TIME_MEASURE_FINISH_PD_COND(need_to_profile, tx_print_log);
|
||||
|
||||
//@#@ del me
|
||||
// LOG_PRINT_L0("APPEND_TX_TIME_INNER: " << m_performance_data.tx_append_rl_wait.get_last_val()
|
||||
// << " | " << m_performance_data.tx_append_is_expired.get_last_val()
|
||||
// << " | " << m_performance_data.tx_process_extra.get_last_val()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue