1
0
Fork 0
forked from lthn/blockchain
Commit graph

56 commits

Author SHA1 Message Date
snider
a947670d2c Update log message for API server shutdown in daemon 2025-10-15 21:02:04 +01:00
snider
073f3db1aa Initialize and manage API server lifecycle in daemon 2025-10-15 20:59:05 +01:00
Snider
763d70bec2
Testnet 1 (#15) 2025-09-30 16:48:13 +01:00
cryptozoidberg
9efce2ddb3
added check if console is available #510 2025-06-07 14:10:45 +04:00
sowle
6ff59d2392
Merge branch 'non_pruning_mode' into develop 2025-05-09 06:53:44 +03:00
cryptozoidberg
ef0a47c720
added force_rescan_tx_pool command to wallet rpc 2025-05-05 21:33:13 +04:00
sowle
e5323d0c5a
non-pruning mode implemented using checkpoints 2025-04-30 03:55:13 +03:00
cryptozoidberg
2872515117
added missing closing tag 2025-03-31 16:14:46 +04:00
cryptozoidberg
bd05907dd8
fixed errors in compilation 2025-03-31 15:37:21 +04:00
cryptozoidberg
926549e740
implemented warp-mode for zano daemon 2025-03-12 19:52:10 +04:00
cryptozoidberg
ec54dc72c9
added full warm up feature 2025-03-12 14:17:40 +04:00
sowle
38e6556a49
2nd iteration on diminishing CPU mining presence in mainnet builds 2025-01-24 04:41:55 +01:00
sowle
35f79d3780
zanod, simplewallet now return exit code 0 when '--version' or '--help' are given 2025-01-21 02:22:13 +01:00
cryptozoidberg
270bb925f5
updated documentation 2024-07-17 19:30:19 +04:00
cryptozoidberg
cb1f62d4ff
fixedbug with crash on autodoc 2024-04-10 14:19:48 +02:00
cryptozoidberg
a91ded81b0
and fixed another compilation issUe 2024-04-09 23:09:22 +02:00
cryptozoidberg
3a792e9a8e
added wallet API complete documentation 2024-04-09 22:52:56 +02:00
cryptozoidberg
7f0b99c25e
another good iteration on auto documenting feature 2024-04-07 16:43:55 +02:00
cryptozoidberg
97c3460af8
autodoc inital code + cmake warningns + improvements over compilation performance 2024-03-20 14:45:29 +01:00
cryptozoidberg
9b8c966702
more options for checkpoints 2024-02-18 21:05:22 +04: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
f56c71c0f1
Implemented #315 2022-04-21 20:57:46 +02:00
cryptozoidberg
631c1fa921
fixed minor issues related to arg_descriptor 2022-04-21 19:00:03 +02:00
Derloda
6c7ee2590d
Add --disable-ntp parameter (#317)
* Add disable-ntp parameter
* Also allow GUI to disable NTP
* Update src/currency_protocol/currency_protocol_handler.inl

Co-authored-by: crypto.sowle <crypto.sowle@gmail.com>
2022-01-04 08:14:11 +03:00
sowle
3520e17836
--stop-after-height implemented 2020-07-02 23:16:47 +03:00
sowle
cf932f50e7
CLI option change: explicit-predownload -> force-predownload 2020-03-18 15:14:10 +03:00
sowle
6bd9a73448
db_backend_selector is used only locally to make things simplier 2020-03-16 17:48:02 +03:00
sowle
5567275518
blockchain database predownloading: first version 2020-03-12 18:07:31 +03:00
sowle
5d5c63c1f8
db_backend_selector introduced 2020-03-12 13:21:22 +03:00
sowle
10ea355ae9
don't register arg_db_engine option in daemon (it's registered in bcs) 2019-11-14 05:57:02 +03:00
cryptozoidberg
1ade55eb17
libmdbx set as an option for command line parameter(--db-engine) 2019-10-25 00:13:38 +02:00
sowle
ac8401db73
temporary disable daemon stop on low free space due to issue #133 2019-10-14 15:28:35 +03:00
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
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
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
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
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