1
0
Fork 0
forked from lthn/blockchain
Commit graph

598 commits

Author SHA1 Message Date
0x914409F1
950f9c16f6 Coverity (#28)
* stratum_server: resolve CID 210144 (UNINIT_CTOR)

* stratum_server: resolve CID 210042/210085/210104 (UNCAUGHT_EXCEPT)

The potential to throw exists within the logger,
remove_blockchain_update_listener, and any paths involving the logger
(including CATCH_ENTRY_*).

* epee: misc_log_ex: create CATCH_ENTRY_NO_RETURN macro

A temporary substition for what I hope will eventually be a full-fledged
exception-dispatcher (class-based, not macro).

* stratum_server: resolve CID 210080/210084/210089 (UNCAUGHT_EXCEPT)

The potential to throw exists within the logger,
remove_protocol_handler, and any paths involving the logger
(including CATCH_ENTRY_*).

* epee: levin_protocol_handler_async: resolve CID 210140/210182/210165 (UNCAUGHT_EXCEPT)

The potential to throw exists within guarded_critical_region_t, and any
paths involving the logger (including CATCH_ENTRY_*).

* epee: levin_protocol_handler_async: resolve CID 210110/210119/210155 (UNCAUGHT_EXCEPT)

The potential to throw exists within the logger, del_connection, and any
paths involving the logger (including CATCH_ENTRY_*).

* epee: misc_log_ex: move macros to *top* of file

so they can be used *within* this file.

* daemon: resolve CID 210069/210092/210166 (UNCAUGHT_EXCEPT)

The potential to throw exists within log_space, and any paths involving
the logger (including CATCH_ENTRY_*).

* daemon: return cstdlib proper types in main

* simplewallet: resolve 6 different CIDs (UNCAUGHT_EXCEPT)

CID: 210082
CID: 210086
CID: 210096
CID: 210147
CID: 210149
CID: 210150

The potential to throw exists throughout various paths in main.

* simplewallet: return cstdlib proper types in main

* simplewallet: resolve CID 210128/210160 (UNCAUGHT_EXCEPT)

The potential to throw exists within various paths, and any paths
involving the logger (including CATCH_ENTRY_*).

* conn_tool: resolve 5 different CIDs (UNCAUGHT_EXCEPT)

CID: 210038
CID: 210047
CID: 210108
CID: 210122
CID: 210157

The potential to throw exists throughout various paths in main.

* conn_tool: return cstdlib proper types in main

* miniupnp_helper: resolve CID 210050 (UNCAUGHT_EXCEPT)

The potential to throw exists within deinit, including any paths
involving the logger (including CATCH_ENTRY_*).

* epee: profile_tools: resolve CID 210055 (UNCAUGHT_EXCEPT)

The potential to throw exists within boost microsec_clock::localtime(),
and any paths involving the logger (including CATCH_ENTRY_*).

* db_backend_lmdb: resolve CID 210056/210133 (UNCAUGHT_EXCEPT)

The potential to throw exists within close(), including any paths
involving the logger (including CATCH_ENTRY_*).

* epee: misc_log_ex: resolve CID 210060/210124 (UNCAUGHT_EXCEPT)

The potential to throw exists within several paths, including any paths
involving the logger (including CATCH_ENTRY_*).

* epee: misc_language: resolve 4 CIDs (UNCAUGHT_EXCEPT)

CID: 210064
CID: 210093
CID: 210136
CID: 210139

The potential to throw exists within m_func(), including any paths
involving the logger (including CATCH_ENTRY_*).

* db_abstract_accessor: resolve 4 CIDs (UNCAUGHT_EXCEPT)

CID: 210072
CID: 210094
CID: 210116
CID: 210141

The potential to throw exists within m_cache.clear(), including any
paths involving the logger (including CATCH_ENTRY_*).

* epee: net_helper: resolve CID 210100 (UNCAUGHT_EXCEPT)

The potential to throw exists within shutdown(), including any
paths involving the logger (including CATCH_ENTRY_*).

* epee: syncobj: resolve CID 210123 (UNCAUGHT_EXCEPT)

The potential to throw exists within unlock(), including any
paths involving the logger (including CATCH_ENTRY_*).

* epee: profile_tools: resolve CID 210145/210154 (UNCAUGHT_EXCEPT)

The potential to throw exists within various paths, including any paths
involving the logger (including CATCH_ENTRY_*).

* epee: http_base: resolve CID 210176 (UNINIT_CTOR)

* p2p: net_node: resolve CID 210173 (UNINIT_CTOR)

* epee: net_helper: resolve CID 210138 (UNINIT_CTOR)

* p2p: net_peerlist: resolve CID 210137 (UNINIT_CTOR)

* currency_basic: resolve CID 210117 (UNINIT_CTOR)

* epee: abstract_tcp_server2: resolve 3 CIDs (UNINIT_CTOR)

CID: 210040
CID: 210090
CID: 210105

* simplewallet: resolve CID 210103 (UNINIT_CTOR)

* epee: levin_protocol_handler_async: resolve CID 210091 (UNINIT_CTOR)

* json_archive: resolve CID 210087 (UNINIT_CTOR)

* epee: levin_protocol_handler_async: resolve CID 210073 (UNINIT_CTOR)

* miniupnp_helper: resolve CID 210037 (UNINIT_CTOR)

* crypto: ge_frombytes_vartime: resolve CID 210142 (CHECKED_RETURN)

* wallet2: resolve CID 210041 (CHECKED_RETURN)

* epee: misc_log_ex: resolve CID 210127 (DEADCODE)

* epee: levin_protocol_handler_sync: resolve 3 CIDs (PASS_BY_VALUE)

CID: 210167
CID: 210170
CID: 210180

* p2p: net_node: resolve CID 210065 (PASS_BY_VALUE)

* epee: levin_abstract_invoke2: resolve CID 210049 (PASS_BY_VALUE)

* epee: abstract_tcp_server2: resolve CID 210045 (PASS_BY_VALUE)

* epee: misc_log_ex: add NESTED_*_ENTRY macros

* simplewallet: use NESTED_*_ENTRY in message_writer dtor

* stratum_protocol_handler_config: use NESTED_*_ENTRY in dtor

* stratum_protocol_handler: use NESTED_*_ENTRY in dtor

* lmdb_db_backend: use NESTED_*_ENTRY in dtor

* epee: abstract_tcp_server2: resolve 4 CIDs (UNCAUGHT_EXCEPT)

CID: 210088
CID: 210106
CID: 210164
CID: 210179

The potential to throw exists within various paths, including any
paths involving the logger (including CATCH_ENTRY_*).

* db_abstract_accessor: use NESTED_*_ENTRY in dtor

* miniupnp_helper: use NESTED_*_ENTRY in dtor

* epee: misc_log_ex: use NESTED_*_ENTRY in log_frame dtor

* epee: levin_protocol_handler_async: use NESTED_*_ENTRY in dtors

* epee: net_helper: use NESTED_*_ENTRY in dtor

* epee: profile_tools: use NESTED_*_ENTRY in dtors

* epee: misc_language: use NESTED_*_ENTRY in dtor

* epee: syncobj: use NESTED_*_ENTRY in dtor

* zano: license contact w/ zano.org email instead of sekreta.org email
2019-05-20 11:32:36 +02:00
cryptozoidberg
7b544f059b
removed PoS from diffictulty func on develop branch 2019-05-18 16:13:10 +02:00
cryptozoidberg
bee05a126e
removed unlock_time parameter for safity reasons 2019-05-17 15:24:52 +02:00
cr.zoidberg
cbfa1612b7 removed unused code 2019-05-14 04:25:14 +02:00
crypro.zoidberg
cdbe023198 dropped blockchain in case it broken 2019-05-09 13:44:14 +02:00
crypro.zoidberg
7c5b7b8bcb fixed bug with cache sync 2019-05-09 13:43:04 +02:00
crypro.zoidberg
53c1a45665 disabled cache for db 2019-05-09 12:37:17 +02:00
crypro.zoidberg
0674ea51fe fixed alerts and fixed resync after daemon restart 2019-05-09 01:52:48 +02:00
crypro.zoidberg
31f3a89aeb removed ugly debug code 2019-05-09 00:35:56 +02:00
crypro.zoidberg
c2f45ab000 disabled target cache 2019-05-09 00:19:13 +02:00
crypro.zoidberg
8d197e55f3 Main net launch 2019-05-08 20:59:47 +02:00
crypro.zoidberg
d1e5594eee mainnet genesis with unrevealed nonce 2019-05-08 17:20:59 +02:00
crypro.zoidberg
19177cb7de fixed wallet compability issues and added smooth pass of CURRENCY_FORMATION_VERSION change 2019-05-08 00:53:45 +02:00
crypro.zoidberg
d3c56e6282 formation changed 2019-05-07 22:39:39 +02:00
crypro.zoidberg
7311c15d98 genesis reset 2019-05-07 22:38:41 +02:00
crypro.zoidberg
4b51ff846d Merge branch 'master' into final 2019-05-07 22:02:09 +02:00
crypro.zoidberg
18c106b81c changed keys 2019-05-07 20:39:21 +02:00
cryptozoidberg
5c02e2aeb8
Fixed misprint(thanks to @matthew for pointing) 2019-05-07 00:51:34 +02:00
sowle
02576ab740 minor operator<< refactoring & related stuff 2019-05-01 16:03:12 +02:00
crypro.zoidberg
6f3c2fcbcc fixed linux serialization 2019-04-30 22:41:01 +02:00
crypro.zoidberg
afea59a25a more logs in error reporting 2019-04-30 21:29:41 +02:00
sowle
5435bdbc01 Merge branch 'master' into offsig
# Conflicts:
#	tests/core_tests/multisig_wallet_tests.cpp
2019-04-30 18:44:15 +02:00
sowle
13ea200399 tx_pool: do not remove txs with "future" receive_time as outdated 2019-04-30 16:58:01 +03:00
crypro.zoidberg
319a61a59a fixed timestamps trap for machine with late clock's 2019-04-30 02:30:55 +02:00
sowle
fab4a7ddf1 coretest wallet_chain_switch_with_spending_the_same_ki + wallet fixes 2019-04-26 19:08:38 +03:00
crypro.zoidberg
18c35f2274 attempt to fix bug with unreturned key_images to tx_pool on reorganize 2019-04-25 01:41:57 +02:00
sowle
a13a5b270a Merge branch 'master' into offsig 2019-04-22 01:20:19 +03:00
crypro.zoidberg
f7645670fe fixed genesis and changed network 2019-04-20 17:37:11 +02:00
sowle
060d829f3a Merge branch 'master' into offsig 2019-04-20 02:16:35 +03:00
crypro.zoidberg
d69f4b9095 testnet3 2019-04-19 21:46:22 +02:00
sowle
d51664e5dc Merge branch 'master' into offsig
# Conflicts:
#	tests/unit_tests/epee_levin_protocol_handler_async.cpp
2019-04-19 15:46:53 +03:00
crypro.zoidberg
cfbe5d2bbc implemented target_calculation optimisation 2019-04-18 23:29:38 +02:00
crypro.zoidberg
d846d26bf4 more preformance logs 2019-04-18 02:45:53 +02:00
crypro.zoidberg
5dec82a2fc added more details on performance monitoring 2019-04-17 19:24:44 +02:00
sowle
e66da1bf3e Merge branch 'master' into offsig 2019-04-15 14:46:15 +03:00
crypro.zoidberg
47aa684f4d added more debug info to pow verification 2019-04-14 23:41:24 +02:00
crypro.zoidberg
44fe6ada85 added nonce messge 2019-04-14 20:23:49 +02:00
crypro.zoidberg
e0e4220e79 added rpc command for ignoring offline status(for debug) 2019-04-14 14:15:24 +02:00
crypro.zoidberg
6976ebb18d added seed infor to get_block_template 2019-04-12 15:52:03 +02:00
sowle
2c1fca9453 Merge branch 'master' into offsig
# Conflicts:
#	src/currency_core/currency_format_utils.h
2019-04-11 13:49:18 +03:00
crypro.zoidberg
ebc478a93c get rid of warning 2019-04-11 02:04:05 +02:00
crypro.zoidberg
5fb2d5ebe2 fixed broken build 2019-04-11 01:51:01 +02:00
crypro.zoidberg
12dc720e5f Merge branch 'master' into final_testnet 2019-04-11 01:30:04 +02:00
crypro.zoidberg
d977521c17 fixed checkpoints in coretests 2019-04-11 00:12:32 +02:00
crypro.zoidberg
17f9e9d40f changed genesis and emission set for check coinsupply 64bit overflow 2019-04-10 23:05:26 +02:00
sowle
977b9f66ce stratum server: found blocks handling made more correct 2019-04-10 18:36:27 +03:00
crypro.zoidberg
534d649466 implemented 128 bit coin supply 2019-04-10 03:00:29 +02:00
sowle
25e9cfc537 wallet: watch-only & cold-signing 2019-04-08 14:16:11 +03:00
sowle
b08905c1cc Merge branch 'master' into offsig
# Conflicts:
#	src/currency_core/currency_format_utils.h
#	tests/unit_tests/pow_hash_test.cpp
2019-04-08 01:37:32 +03:00
sowle
b1a5187322 wallet: sign_transfer + submit_transfer implemented 2019-04-05 00:42:28 +03:00