1
0
Fork 0
forked from lthn/blockchain
Commit graph

38 commits

Author SHA1 Message Date
sowle
3b1f08676e
warning fixed 2024-10-21 12:37:52 +02:00
sowle
226c3653ac
minor improvements: CHECK_AND_ASSERT_EQ(), stream support for std::type_info 2024-06-24 23:28:47 +02:00
sowle
46a0db21ec
Merge branch 'develop' into cryptoassets
# Conflicts:
#	CMakeLists.txt
#	README.md
#	contrib/epee/include/net/http_client.h
#	src/currency_core/blockchain_storage.cpp
#	src/currency_core/currency_core.cpp
#	src/currency_core/currency_format_utils.cpp
#	src/gui/qt-daemon/layout
#	src/rpc/core_rpc_server.cpp
#	src/rpc/core_rpc_server.h
#	src/rpc/core_rpc_server_commands_defs.h
#	src/version.h.in
#	src/wallet/wallet2.cpp
#	src/wallet/wallet2.h
#	src/wallet/wallet_public_structs_defs.h
#	src/wallet/wallet_rpc_server.h
#	tests/core_tests/chaingen.cpp
#	tests/core_tests/pos_validation.cpp
#	tests/core_tests/wallet_tests.cpp
#	tests/performance_tests/main.cpp
2023-11-01 23:48:36 +01:00
sowle
b94c9f75d3
1) logging: channel(s) enabling made optionally less verbose; 2) various fixes after the merge 2022-10-14 19:08:27 +02:00
cryptozoidberg
00d4ae9828
set deterministic rand to find bug in multiasset_test 2022-10-11 21:17:05 +02:00
cryptozoidberg
ad8a3375db
fixed tor relaying(fixed disabled rnd) 2022-07-21 21:27:16 +02:00
cryptozoidberg
0dbc900c9a
fixed wrong console handling on windows 2022-05-26 22:24:53 +02:00
cryptozoidberg
3222d51490
forgoten LOG_PRINT_COLOR2_CB 2021-08-17 12:13:16 +02:00
cryptozoidberg
11ef353281
forgoten magenta 2021-08-17 12:13:16 +02:00
cryptozoidberg
a14cda2db6
improved json rpc lib and logging lib 2021-08-17 12:13:16 +02:00
cryptozoidberg
038a5a4a07
upgraded logs 2021-08-17 12:13:15 +02:00
cryptozoidberg
7886f7cd3d
modified logging in wallet 2021-08-17 12:13:14 +02:00
cryptozoidberg
4584b5fede
Added green logs shortcut 2021-08-17 12:13:14 +02:00
sowle
5e5e9f56ff
simplewallet: fixed mysterious no-log-file issue 2020-08-13 15:23:39 +03:00
cryptozoidberg
a4b5af479e
guarded other static objects whichg might lead to errors in deinitialization 2020-05-17 23:15:50 +02:00
cryptozoidberg
131f4a8347
implemented static objects wrapper, which make possible to pre-handle beginning of static obj death 2020-05-17 21:38:36 +02:00
cryptozoidberg
0b6b30b01c
fixed gcc error 2020-03-15 06:32:11 +01:00
cryptozoidberg
01b6f41509
implemented get logs/truncate logs in plain_wallet 2020-03-15 06:14:08 +01:00
sowle
5629392700
fixed signed/unsigned comparison in out_buffer() 2020-02-26 02:49:27 +03:00
cryptozoidberg
c1208fd05d
disabled autological-constant-out-of-range-compare for clang/gcc 2020-02-23 08:08:39 +01:00
cryptozoidberg
1749040cd4
fixed warnings for paindroid platofrm 2020-02-23 07:07:20 +01:00
cryptozoidberg
f621740c79
re-enabled channels on android 2020-02-21 17:53:12 +01:00
cryptozoidberg
bb4e2be6d6
disabled log channels for android, more fixes over build config 2020-02-21 09:28:45 +01:00
cryptozoidberg
161acc3561
excluded srdout from android build 2020-02-21 04:18:54 +01:00
sowle
c1e75c3445
epee: syncobj & try-catch macros: fix & minor refactoring 2019-11-13 16:28:21 +03:00
sowle
2fd120f201
add LOCATION_CSTR macro 2019-11-12 11:28:09 +03:00
cryptozoidberg
6e456458bb
made log messages exception safe 2019-11-10 19:15:17 +01:00
sowle
c29c7a6a5f
fix gcc compilation for older boost versions 2019-10-05 15:12:02 +03:00
cryptozoidberg
a5c02c7d8c
improvements over wallet balance caclulations algo 2019-09-27 17:16:18 +02:00
sowle
ceb1739f23
filesystem unicode support: WIP2 2019-09-25 06:22:00 +03:00
sowle
7706f0d6ac
filesystem unicode support: WIP 2019-09-24 17:49:04 +03:00
sowle
d6e8ecb86f
callstack trace for win64 implemented and integrated into epee 2019-08-29 04:23:16 +03:00
cryptozoidberg
292437c05c
fixed compilation issues 2019-07-24 00:37:24 +02:00
cryptozoidberg
cda2dda44f
implemented comparing function fo altchains 2019-07-15 20:10:50 +02:00
cryptozoidberg
667a4dec8a
inital implementation of PoS improvements: comparing function, diff tracing, block version 2019-06-18 01:15:33 +03:00
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
crypro.zoidberg
2fc055ff15 sync some of epee libs with boolberry 2019-02-18 19:48:38 +01:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00