dncurrency/nano/node
Piotr Wójcik baabcca426
Telemetry refactor (#4026)
* Simplify telemetry

* Fix tests

* Cleanup config

* Cleanup local telemetry

* Remove unused flag

* Fix slow tests

* Fix rpc tests

* Cleanup `nano::test::compare_telemetry`

* Add more testcases

* Add ongoing telemetry broadcasts

* Cleanup

* Fixes

* Do not immediately remove telemetry from disconnected peers

* Increase telemetry broadcast & request intervals

* Update docs

* Refactor `peer_exclusion` a bit

* Filter and disconnect from peers with mismatched genesis

---------

Co-authored-by: clemahieu <clemahieu@gmail.com>
2023-02-02 16:14:26 +01:00
..
bootstrap Add function ledger::account_info which encapsulates direct calls to store.account.get. Rather than directly accessing the block store, users should use the ledger interface to query for this information. 2023-01-27 18:46:32 +00:00
ipc Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
lmdb Changing mdb_iterator comparison operators to address C++20 overloaded comparison operator ambiguity. 2023-01-16 10:28:25 +00:00
plat Improvements in const correctness and 'const' positioning (#3510) 2021-10-21 16:20:09 +03:00
rocksdb Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
transport Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
active_transactions.cpp Fix active_transactions stop (#4080) 2023-01-27 14:34:51 +01:00
active_transactions.hpp Fix active_transactions stop (#4080) 2023-01-27 14:34:51 +01:00
backlog_population.cpp Use 'magic_enum' library for static reflection for enums (#4065) 2023-01-26 14:18:25 +00:00
backlog_population.hpp Use 'magic_enum' library for static reflection for enums (#4065) 2023-01-26 14:18:25 +00:00
bandwidth_limiter.cpp Fix missing return on non-void function (#4003) 2022-11-25 16:17:15 -03:00
bandwidth_limiter.hpp Stateless bootstrap server (#3975) 2022-11-01 19:31:23 +01:00
block_arrival.cpp Disambiguity of all the implemented locks (#4045) 2023-01-13 15:02:34 -03:00
block_arrival.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
blockprocessor.cpp Move websocket initialization code out of node constructor (#4068) 2023-01-24 02:06:25 +01:00
blockprocessor.hpp Fix a shutdown problem in block_processor (#3646) 2023-01-19 15:37:23 +00:00
cli.cpp Disambiguity of all the implemented locks (#4045) 2023-01-13 15:02:34 -03:00
cli.hpp [Pruning] Pruning configuration settings (#2947) 2020-09-23 17:13:29 +03:00
CMakeLists.txt Extract epoch upgrader out of node (#4078) 2023-01-27 14:33:46 +01:00
common.cpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
common.hpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
confirmation_height_bounded.cpp Add function ledger::account_info which encapsulates direct calls to store.account.get. Rather than directly accessing the block store, users should use the ledger interface to query for this information. 2023-01-27 18:46:32 +00:00
confirmation_height_bounded.hpp Comments for confirmation_height_processor (#3900) 2022-08-24 19:07:10 +02:00
confirmation_height_processor.cpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
confirmation_height_processor.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
confirmation_height_unbounded.cpp Comments for confirmation_height_processor (#3900) 2022-08-24 19:07:10 +02:00
confirmation_height_unbounded.hpp Comments for confirmation_height_processor (#3900) 2022-08-24 19:07:10 +02:00
confirmation_solicitor.cpp This demonstrates a speedup in confirmation rate during initial boots… (#3644) 2022-04-21 09:53:46 +01:00
confirmation_solicitor.hpp Improvements in const correctness and 'const' positioning (#3510) 2021-10-21 16:20:09 +03:00
daemonconfig.cpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
daemonconfig.hpp Remove nano pow server (#4043) 2023-01-13 12:37:57 +00:00
distributed_work.cpp Move websocket initialization code out of node constructor (#4068) 2023-01-24 02:06:25 +01:00
distributed_work.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
distributed_work_factory.cpp Using c++20 std::erase_if. (#4054) 2023-01-16 14:25:39 +00:00
distributed_work_factory.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
election.cpp Disambiguity of all the implemented locks (#4045) 2023-01-13 15:02:34 -03:00
election.hpp Use constant vote broadcast interval (#4010) 2022-11-30 13:54:33 +01:00
election_scheduler.cpp Add start & stop to election_scheduler (#4090) 2023-02-01 12:20:08 +01:00
election_scheduler.hpp Add start & stop to election_scheduler (#4090) 2023-02-01 12:20:08 +01:00
epoch_upgrader.cpp Add function ledger::account_info which encapsulates direct calls to store.account.get. Rather than directly accessing the block store, users should use the ledger interface to query for this information. 2023-01-27 18:46:32 +00:00
epoch_upgrader.hpp Extract epoch upgrader out of node (#4078) 2023-01-27 14:33:46 +01:00
gap_cache.cpp Disambiguity of all the implemented locks (#4045) 2023-01-13 15:02:34 -03:00
gap_cache.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
hinted_scheduler.cpp Fix hinted_scheduler stop (#4079) 2023-01-27 14:34:06 +01:00
hinted_scheduler.hpp Fix hinted_scheduler stop (#4079) 2023-01-27 14:34:06 +01:00
inactive_cache_information.cpp Replace election::insert_inactive_votes_cache by election::vote (#3874) 2022-08-02 16:04:00 +02:00
inactive_cache_information.hpp Replace election::insert_inactive_votes_cache by election::vote (#3874) 2022-08-02 16:04:00 +02:00
inactive_cache_status.cpp Inactive cache information to string (easy review) (#3730) 2022-02-10 11:24:28 +00:00
inactive_cache_status.hpp Inactive cache information to string (easy review) (#3730) 2022-02-10 11:24:28 +00:00
json_handler.cpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
json_handler.hpp Add populate_backlog rpc command (#3860) 2022-07-21 00:20:22 +02:00
ledger_walker.cpp Improvements in const correctness and 'const' positioning (#3510) 2021-10-21 16:20:09 +03:00
ledger_walker.hpp Disable compilation/usage of diskhash on Windows (#3372) 2021-07-08 16:21:47 +03:00
logging.cpp Adding boost as a submodule rather than requiring it to be provided externally. 2023-01-13 16:20:34 +00:00
logging.hpp improve election result logging (#3684) 2022-02-01 19:32:53 +00:00
messages.cpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
messages.hpp adding confirm_ack to_string() (#3987) 2023-01-09 14:00:59 +00:00
network.cpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
network.hpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
node.cpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
node.hpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
node_observers.cpp Improve observer_set class (#3924) 2022-08-27 22:58:44 +01:00
node_observers.hpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
node_rpc_config.cpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
node_rpc_config.hpp Remove json config code (#3655) 2022-01-12 23:02:09 +00:00
nodeconfig.cpp Add comment for NANO_DEFAULT_PEER environment variable (#4073) 2023-01-27 00:29:18 +00:00
nodeconfig.hpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
online_reps.cpp Disambiguity of all the implemented locks (#4045) 2023-01-13 15:02:34 -03:00
online_reps.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
openclconfig.cpp Remove json config code (#3655) 2022-01-12 23:02:09 +00:00
openclconfig.hpp Remove json config code (#3655) 2022-01-12 23:02:09 +00:00
openclwork.cpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
openclwork.hpp Pulling a work_thresholds reference through opencl_work class so it doesn't need a static reference. 2021-08-10 13:50:57 +01:00
peer_exclusion.cpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
peer_exclusion.hpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
portmapping.cpp Updating miniupnp to v2.2.3 (#3541) 2021-11-02 12:41:05 +00:00
portmapping.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
prioritization.cpp Change election scheduler to consider previous balance (#4022) 2022-12-09 12:19:52 +00:00
prioritization.hpp Change election scheduler to consider previous balance (#4022) 2022-12-09 12:19:52 +00:00
repcrawler.cpp Disambiguity of all the implemented locks (#4045) 2023-01-13 15:02:34 -03:00
repcrawler.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
request_aggregator.cpp Add function ledger::account_info which encapsulates direct calls to store.account.get. Rather than directly accessing the block store, users should use the ledger interface to query for this information. 2023-01-27 18:46:32 +00:00
request_aggregator.hpp Use 'magic_enum' library for static reflection for enums (#4065) 2023-01-26 14:18:25 +00:00
signatures.cpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
signatures.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
socket.cpp Fix several sign comparison mismatches identified by msvc. 2023-01-23 10:28:52 +00:00
socket.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
state_block_signature_verification.cpp Remove unchecked_info::account and unchecked_info::verified (#4021) 2022-12-09 11:28:40 +00:00
state_block_signature_verification.hpp Remove unchecked_info::account and unchecked_info::verified (#4021) 2022-12-09 11:28:40 +00:00
telemetry.cpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
telemetry.hpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
unchecked_map.cpp Fix race condition in unchecked_map where a block may be asynchronously inserted and a dependency satisfied while a block is waiting to be placed in the unchecked table. 2023-02-01 10:18:36 +00:00
unchecked_map.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
vote_cache.cpp Replace random_access with sequenced in vote_cache (#3955) 2022-09-22 22:13:06 +02:00
vote_cache.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
vote_processor.cpp Use 'magic_enum' library for static reflection for enums (#4065) 2023-01-26 14:18:25 +00:00
vote_processor.hpp Use 'magic_enum' library for static reflection for enums (#4065) 2023-01-26 14:18:25 +00:00
voting.cpp Use 'magic_enum' library for static reflection for enums (#4065) 2023-01-26 14:18:25 +00:00
voting.hpp Use 'magic_enum' library for static reflection for enums (#4065) 2023-01-26 14:18:25 +00:00
wallet.cpp Rather than directly accessing the block store, users should use the ledger::pending_info interface to query for pending information. 2023-01-28 07:26:15 +00:00
wallet.hpp Pending to receivable renames (#3753) 2022-03-28 13:07:02 +01:00
websocket.cpp Telemetry refactor (#4026) 2023-02-02 16:14:26 +01:00
websocket.hpp Move websocket initialization code out of node constructor (#4068) 2023-01-24 02:06:25 +01:00
websocket_stream.cpp Secure websocket support and certificate config improvements. (#3032) 2021-11-01 15:45:17 +00:00
websocket_stream.hpp Secure websocket support and certificate config improvements. (#3032) 2021-11-01 15:45:17 +00:00
websocketconfig.cpp Remove json config code (#3655) 2022-01-12 23:02:09 +00:00
websocketconfig.hpp Remove json config code (#3655) 2022-01-12 23:02:09 +00:00
write_database_queue.cpp This removes debug checks for is_dev_network in several places that don't directly have access to the network constants. node_rpc_config::set_request_callback is used for testing though nothing functionally requires it to be called from a unit test context. write_database_queue::contains checks that it's only called in a unit test context though this is also not functionally required. Calling the count function on several of the db tables has a performance impact though nothing about it is functionally incorrect and the caller needs to determine if the performance hit is acceptable. 2021-08-09 12:12:41 +01:00
write_database_queue.hpp Removed all unnecessary usings 2023-01-13 22:51:06 +01:00
xorshift.hpp Various minor coding style updates (#1863) 2019-03-26 13:25:47 +00:00