mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #2424
28b72b6e
tx_pool: pre-init tvc.m_verifivation_failed before processing (moneromooo-monero)50a629b2
core_tests: catch (impossible in practice) tx extra api failure (moneromooo-monero)fee15ef1
wallet2: catch failure to parse address (moneromooo-monero)1399e26d
net_peerlist: remove dead code (moneromooo-monero)50e09698
tx_pool: guard against failure getting tx hash (moneromooo-monero)54cc209a
wallet_rpc_server: catch failure to create directory (moneromooo-monero)3e55099c
wallet_rpc_server: init m_vm to NULL in ctor (moneromooo-monero)7d0dde5e
wallet_args: remove redundant default value for --log-file (moneromooo-monero)ed4a3350
wallet2: catch failure to save keys file (moneromooo-monero)44434c8a
wallet2_api: check whether dynamic_cast returns NULL (moneromooo-monero)92f2f687
core: check return value from parse_hexstr_to_binbuff (moneromooo-monero)5475692e
wallet2_api: remove an unused, uninitialized, field (moneromooo-monero)a7ba3de1
libwallet_api_tests: initialize newblock_triggered on reset (moneromooo-monero)b2763ace
wallet2_api: init error code to "no error" in the ctor (moneromooo-monero)b5faac53
get_blockchain_top now returns void (moneromooo-monero)2e44d8f2
wallet_rpc_server: guard against exceptions (moneromooo-monero)4230876b
simplewallet: guard against I/O exceptions (moneromooo-monero)06c1e057
daemon: initialize decode_as_json in RPC request (moneromooo-monero)11f71af5
http_base: init size_t in http_request_info ctor (moneromooo-monero)
This commit is contained in:
commit
c2346c6c59
20 changed files with 70 additions and 73 deletions
|
@ -229,10 +229,9 @@ bool tests::proxy_core::get_short_chain_history(std::list<crypto::hash>& ids) {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool tests::proxy_core::get_blockchain_top(uint64_t& height, crypto::hash& top_id) {
|
||||
void tests::proxy_core::get_blockchain_top(uint64_t& height, crypto::hash& top_id) {
|
||||
height = 0;
|
||||
top_id = get_block_hash(m_genesis);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool tests::proxy_core::init(const boost::program_options::variables_map& /*vm*/) {
|
||||
|
|
|
@ -74,7 +74,7 @@ namespace tests
|
|||
bool get_short_chain_history(std::list<crypto::hash>& ids);
|
||||
bool get_stat_info(cryptonote::core_stat_info& st_inf){return true;}
|
||||
bool have_block(const crypto::hash& id);
|
||||
bool get_blockchain_top(uint64_t& height, crypto::hash& top_id);
|
||||
void get_blockchain_top(uint64_t& height, crypto::hash& top_id);
|
||||
bool handle_incoming_tx(const cryptonote::blobdata& tx_blob, cryptonote::tx_verification_context& tvc, bool keeped_by_block, bool relayed, bool do_not_relay);
|
||||
bool handle_incoming_txs(const std::list<cryptonote::blobdata>& tx_blobs, std::vector<cryptonote::tx_verification_context>& tvc, bool keeped_by_block, bool relayed, bool do_not_relay);
|
||||
bool handle_incoming_block(const cryptonote::blobdata& block_blob, cryptonote::block_verification_context& bvc, bool update_miner_blocktemplate = true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue