Commit graph

50 commits

Author SHA1 Message Date
Snider
89c6833845 Switch to conanfile.py, update build scripts and genesis data
Replaces conanfile.txt with conanfile.py for improved Conan package management. Updates Makefile and CMakeLists.txt to align with new Conan workflow and build folder structure. Increases premine amount in default.cmake and updates genesis transaction data. Comments out a hardcoded seed node in net_node.inl.
2025-10-01 18:04:44 +01:00
Snider
763d70bec2
Testnet 1 (#15) 2025-09-30 16:48:13 +01:00
sowle
1b8cfa0194
Merge branch 'release' into develop
# Conflicts:
#	src/version.h.in
2025-07-21 15:10:54 +03:00
cryptozoidberg
71cc7d1363
renamed field 2025-07-21 15:17:40 +04:00
sowle
68871b93ec
p2p minor improvements 2025-07-20 22:54:32 +03:00
cryptozoidberg
32194f88b1
p2p network manual configuration from config file 2025-07-20 18:41:27 +04:00
sowle
2fb8f499e1
Merge remote-tracking branch 'origin/p2pdbgcmd' into develop 2025-06-19 12:53:34 +02:00
cryptozoidberg
87fae9440c
bug that have been there for ages 2025-06-06 21:18:41 +04:00
sowle
e5323d0c5a
non-pruning mode implemented using checkpoints 2025-04-30 03:55:13 +03:00
sowle
7606c69961
p2p: COMMAND_REQUEST_ANONYMIZED_PEERS (WIP) 2025-04-18 06:18:57 +03:00
cryptozoidberg
39e36cf8c8
p2pstate reset 2025-03-24 08:52:40 +04:00
cryptozoidberg
ec54dc72c9
added full warm up feature 2025-03-12 14:17:40 +04:00
cryptozoidberg
e4d9f1da59
added command for printing ip blacklist 2024-10-27 17:49:13 +04:00
sowle
426ca5a22b
p2p: clients with outdated versions now rejected by p2p upon hf activation as well (+tied to hf min build number) 2024-09-25 04:13:41 +02:00
sowle
921b447b02
p2p: block old clients (<2.x) on in and out conn + build version bump to 280 2024-03-21 10:48:11 +01:00
cryptozoidberg
52f11a77b9
Fixed wrong p2p ports 2023-05-22 23:24:20 +02:00
sowle
aca0388c3e
don't use deprecated boost/bind.hpp and placeholders in global namespace 2022-12-04 15:25:19 +01:00
sowle
b11e66aeff
zarcanum testnet pre-alpha has been launched 2022-11-24 20:39:06 +01:00
sowle
ef38eb9724
p2p: when use-only-priority-nodes is present and none of priority nodes are specified -- don't connect to seed nodes 2022-11-23 18:55:03 +01:00
sowle
d692c83d14
crypto serialization code re-arranged, bpp_signature_serialized introduced 2022-05-10 21:10:33 +02:00
cryptozoidberg
a8fe3f2797
Fixed #293 and refactored arg_descriptor(wanted to do it for such a long time!!!!) 2022-04-21 17:43:50 +02:00
sowle
6bf7dd9307
gcc compilation fix 2021-11-03 17:20:49 +01:00
sowle
3ef937cfc5
p2p: --p2p-ip-auto-blocking command-line parameter implemented for daemon (blocking is disabled by default) 2021-11-03 16:11:47 +01:00
sowle
ee222d96a7
p2p: is_ip_good_for_adding_to_peerlist added 2021-11-02 22:19:10 +01:00
sowle
37755b5b1f
p2p: IP blocking refactored, blocked IPs are now removed from peerlists 2021-11-02 21:47:25 +01:00
cryptozoidberg
2b1c3c77bb
fixed #71 2021-10-16 22:41:37 +02:00
cryptozoidberg
2382e9717b
Implemented debug mode for remote node 2020-05-05 17:47:24 +02:00
sowle
6a3efa5792
additional logging on handshake 2020-05-05 13:06:26 +03:00
cryptozoidberg
c19ee435fc
Merge branch 'develop' into txpool_optimisation 2019-12-05 16:05:01 +01:00
cryptozoidberg
7d4f95ca53
fixed problem with seed nodes + transactions loaded to onboard container instead of prevalidation in tx pool 2019-12-03 04:16:17 +01:00
sowle
c51ef0cda7
p2p: minor issues fixed 2019-11-19 18:08:21 +03:00
sowle
6d51f367bc
p2p: minor log improvement for net_node.inl 2019-11-12 11:31:49 +03:00
cryptozoidberg
cbf79bbc7a
changed seed list 2019-11-10 01:18:52 +01:00
sowle
998ab7cfa8
p2p: immediately close outgoing connection if handshake fails (fixes a rare connectivity bug) 2019-10-23 14:07:00 +03:00
sowle
b24f3b5d6c
p2p: attempt to fix double connections between nodes (#135) 2019-10-23 14:03:47 +03:00
sowle
47d61b6424
p2p: fix for filtering old clients mechanism #128 (2) 2019-10-11 00:02:41 +03:00
sowle
adc08088aa
p2p: fix for filtering old clients mechanism #128 2019-10-10 23:47:15 +03:00
sowle
609969799e
p2p: check_remote_client_version() moved to more appropriate place 2019-10-10 16:22:34 +03:00
sowle
02c04aa300
p2p: filter out old clients by version + unittest #128 2019-10-10 11:12:28 +03:00
cryptozoidberg
a5c02c7d8c
improvements over wallet balance caclulations algo 2019-09-27 17:16:18 +02:00
sowle
705d4f3088
daemon: --disable-debug-p2p-requests option implemented (#51) 2019-09-19 16:55:07 +03:00
cryptozoidberg
5fcb0d4848
set peers for testnet 2019-05-24 18:59:47 +02:00
cryptozoidberg
74b8bfb96b
added 4 new seeds 2019-05-21 19:13:43 +02: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
0674ea51fe fixed alerts and fixed resync after daemon restart 2019-05-09 01:52:48 +02:00
sowle
f94f402b57 fixed a potential string copy bug in handle_get_network_state 2019-03-06 15:16:40 +03:00
dev
f68a7cfa7a peer log downloading 2019-02-16 03:04:08 +03:00
crypro.zoidberg
2c74d4a6e7 disabled market, fixed p2p api 2019-01-17 13:50:51 +03:00
crypro.zoidberg
020006b273 wk2 integration for main chain finished 2019-01-11 23:46:37 +03:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00