1
0
Fork 0
forked from lthn/blockchain
Commit graph

31 commits

Author SHA1 Message Date
cryptozoidberg
67d2d7f200
implemented right version of stream filter for input 2020-08-18 21:54:24 +02:00
sowle
a1c5343c4b
http_client improved to stop on permanent HTTP error + logs 2020-05-13 10:29:14 +03:00
sowle
9cc1a0b800
fixed a typo 2020-03-30 15:22:16 +03:00
sowle
8cdeadfdc8
virtual dtors for interfaces 2020-03-30 11:41:12 +03:00
sowle
40097d776b
epee:: http_client & gzip_encoding: fixed improper handling of incorrect gzip data during downloading 2020-03-18 15:22:20 +03:00
sowle
70337d779d
allow interruptible_http_client to accept 2xx responses 2020-03-13 07:43:06 +03:00
sowle
3c38e8562d
fixed interruptible_http_client: non-200 code handling + fails_count is taken into account 2020-03-13 05:56:19 +03:00
cryptozoidberg
3cb70f88f5
attempt to fix broken build 2020-03-11 02:34:41 +01:00
sowle
945451bc94
epee::interruptible_http_client 2020-03-10 18:03:12 +03:00
cryptozoidberg
aa65dfe9e6
removed unused invoke_timeout, finished manual timeouts setting function 2020-03-08 20:40:13 +01:00
cryptozoidberg
fe8c34eb17
improved timeouts for mobile wallet 2020-03-07 06:55:09 +01:00
cryptozoidberg
fccf9933af
implemented online/offline status detecting 2020-03-02 05:05:15 +01:00
sowle
599b97d633
build: minor whitespace fix 2020-02-08 18:36:31 +03:00
cryptozoidberg
5dfefd20ca
fixed bug in rpc map macro 2020-02-03 18:19:54 +01:00
cryptozoidberg
577733133f
epee's json rpc lib extended a bit beyond JSON RPC specification 2020-02-03 18:00:41 +01:00
sowle
470cde7948
epee: improved logs for abstract_tcp_server (warn about potential issue) and http_client (less drama when unable to connect) 2019-11-12 11:30:27 +03:00
cryptozoidberg
2cde1c530d
fixed uninitialized member in idle_callback_conext_base 2019-11-11 01:55:00 +01:00
sowle
b398de6e9f
minor log improvements in currency protocol and epee's net_utils_base 2019-10-19 06:38:21 +03:00
cryptozoidberg
f2b8562813
fix of the levin(stolen from @moneromooo-monero) 2019-10-16 22:53:58 +02:00
cryptozoidberg
5dabc72bda
added huge comment to prevent future shoot in the foot 2019-10-13 01:38:55 +02:00
cryptozoidberg
fdddf58ebf
attempt to fix #127 2019-10-13 01:27:03 +02:00
cryptozoidberg
a5c02c7d8c
improvements over wallet balance caclulations algo 2019-09-27 17:16:18 +02:00
sowle
f5dbbfd1d4
some warning fixed 2019-09-11 13:30:56 +03:00
sowle
33a002982e formatting/whitespace fixes 2019-05-21 19:53:20 +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
cryptozoidberg
4db26f48a5
fixed latest boost compatibility 2019-05-18 19:41:17 +02:00
crypro.zoidberg
f408f93344 be sure that connection is closed on sentque overflow 2019-04-22 18:43:48 +02:00
crypro.zoidberg
2fc055ff15 sync some of epee libs with boolberry 2019-02-18 19:48:38 +01:00
crypro.zoidberg
6e050fce8b added more logs, changed structure of furmat_utils 2019-02-14 02:00:40 +01:00
crypro.zoidberg
257d63d2b1 fixed bug with possible http server flood 2019-02-08 21:33:26 +01:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00