1
0
Fork 0
forked from lthn/blockchain
Commit graph

85 commits

Author SHA1 Message Date
cryptozoidberg
1b6fff2bf3
fixed resync market issue 2019-10-11 19:52:04 +02:00
cryptozoidberg
9d3e2dee6b
Merge branch 'develop' into market_rpc_api 2019-10-02 21:06:50 +02:00
cryptozoidberg
a38032d39a
Merge branch 'develop' into der_hint_improve 2019-09-27 17:24:41 +02:00
cryptozoidberg
a5c02c7d8c
improvements over wallet balance caclulations algo 2019-09-27 17:16:18 +02:00
sowle
d66e07ef1a
filesystem unicode refactoring WIP3 2019-09-25 17:09:38 +03:00
sowle
283994e6cd
removed temp test 2019-09-25 07:33:53 +03:00
sowle
ceb1739f23
filesystem unicode support: WIP2 2019-09-25 06:22:00 +03:00
cryptozoidberg
22a5c44089
added more logs + fixed issue with forgotten cumulative_diff_precise_adjusted 2019-09-23 21:51:25 +02:00
sowle
786614d588
gui: implemented terminal handler the same way it was done in daemon 2019-09-19 17:07:12 +03:00
sowle
9c3d9076aa
daemon: terminal handler implemented (may be helpful in a fighting with mysterious crashes) 2019-09-19 16:57:16 +03:00
sowle
feb21033f2
daemon: debug_set_time_adj command added (for testing and debugging purpose) 2019-09-19 16:53:32 +03:00
sowle
ffa1d9ea55
windown callstack enabled for Zano app as well as for daemon 2019-08-29 04:36:35 +03:00
sowle
d6e8ecb86f
callstack trace for win64 implemented and integrated into epee 2019-08-29 04:23:16 +03:00
cryptozoidberg
e8ad37cc8b
added command to enable service 2019-08-28 22:52:07 +02:00
sowle
28659827c3
lmdb: reverting back to v 18 due to complex issues with resizing/synchronization
lmdb v 24 requires manual resizing/growing during it's normal function
Zano core is purely async so it's not easy to prevent all DB txs from starting on lmdb adapter level, because it will lead to random deadlocks in the core due to many high-level cross-thread dependencies.
We will rethink this later.
Many thanks to @leo-yuriev who helped us to discover these issues!
2019-08-28 17:58:35 +03:00
sowle
25fcf646eb
daemon: enable lmdb log channel by default 2019-08-13 20:02:45 +03:00
cryptozoidberg
dca5aae9cb
added another command for getting difficulty numbers 2019-08-08 17:21:38 +02:00
cryptozoidberg
a288150e97
set spent flag 2019-07-09 19:23:43 +02:00
cryptozoidberg
6853d903ce
added command for analysing tx outputs 2019-07-05 19:46:10 +02:00
sowle
9fc42dac53 daemon: checking for free space (--disable-stop-on-low-free-space was also added) + minor refactoring on critical errors handling 2019-07-02 18:38:35 +03:00
sowle
b03625c4c7 fix a typo 2019-06-17 23:59:45 +03:00
sowle
403f21130b time sync issues detection: --disable-stop-if-time-out-of-sync option added + various fixes 2019-06-07 15:15:14 +03:00
sowle
be51d8ecd7 time sync issues detection: WIP 2019-06-07 11:07:51 +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
0x914409F1
55d169c926 daemon: implement CLI option to disable UPnP (#26)
Enhances local network privacy by disabling UPnP (discovery (SSDP),
etc.), and also speeds up the daemon on startup if UPnP is not needed.

In other words, allows the option to completely disable the use of UPnP.
2019-05-19 03:24:41 +02: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
crypro.zoidberg
011f10ad59 initialization and default dbg difficulty corrected 2019-04-02 22:30:07 +02:00
sowle
a62abcf0b5 internal stratum server 2019-03-29 05:43:23 +03:00
crypro.zoidberg
9e5bf23363 tests fixed 2019-03-02 20:49:15 +01:00
crypro.zoidberg
2822fa521e fixed api 2019-01-25 20:32:15 +03:00
crypro.zoidberg
1109e568c5 added block info by hash and fixed bug with seed initialization 2019-01-25 19:20:12 +03:00
crypro.zoidberg
8a340a4359 added command for printing plock extended info 2019-01-17 19:16:31 +03:00
crypro.zoidberg
2c74d4a6e7 disabled market, fixed p2p api 2019-01-17 13:50:51 +03:00
sowle
c6f1fb3b67 win64 compilation fixes & code clean-up 2019-01-09 13:06:59 +03:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00