forked from lthn/blockchain
various compilation and warning fixes for gcc
This commit is contained in:
parent
775fab7374
commit
4c720ebd82
4 changed files with 4 additions and 4 deletions
|
|
@ -174,7 +174,7 @@ ENABLE_SHARED_PCH_EXECUTABLE(connectivity_tool)
|
|||
|
||||
add_executable(simplewallet ${SIMPLEWALLET})
|
||||
add_dependencies(simplewallet version)
|
||||
target_link_libraries(simplewallet wallet rpc currency_core crypto common zlibstatic ethash ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES})
|
||||
target_link_libraries(simplewallet wallet rpc currency_core crypto common zlibstatic ethash ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES} dl)
|
||||
|
||||
ENABLE_SHARED_PCH(simplewallet SIMPLEWALLET)
|
||||
ENABLE_SHARED_PCH_EXECUTABLE(simplewallet)
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ bool gen_double_spend_in_tx<txs_kept_by_block>::generate(std::vector<test_event_
|
|||
|
||||
currency::transaction tx_1 = AUTO_VAL_INIT(tx_1);
|
||||
std::vector<currency::attachment_v> attachments;
|
||||
if (!construct_tx(bob_account.get_keys(), sources, destinations, attachments, tx_1, get_tx_version_from_events(events), uint64_t(0)))
|
||||
if (!construct_tx(bob_account.get_keys(), sources, destinations, attachments, tx_1, this->get_tx_version_from_events(events), uint64_t(0)))
|
||||
return false;
|
||||
|
||||
SET_EVENT_VISITOR_SETT(events, event_visitor_settings::set_txs_kept_by_block, txs_kept_by_block);
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ struct gen_tx_extra_double_entry : test_chain_unit_enchanced
|
|||
{
|
||||
gen_tx_extra_double_entry();
|
||||
bool generate(std::vector<test_event_entry>& events) const;
|
||||
bool gen_tx_extra_double_entry::configure_core(currency::core& c, size_t ev_index, const std::vector<test_event_entry>& events);
|
||||
bool configure_core(currency::core& c, size_t ev_index, const std::vector<test_event_entry>& events);
|
||||
};
|
||||
|
||||
struct gen_tx_double_key_image : test_chain_unit_enchanced
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ std::string get_random_rext(size_t len)
|
|||
{
|
||||
std::string buff(len/2, 0);
|
||||
crypto::generate_random_bytes(len/2, (void*)buff.data());
|
||||
return string_tools::buff_to_hex_nodelimer(buff);
|
||||
return epst::buff_to_hex_nodelimer(buff);
|
||||
}
|
||||
|
||||
bool run_core_market_performance_tests(uint64_t offers_amount)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue