lighthouse-pulse/common
Pawan Dhananjay 042e80570c
Improve tokio task execution (#1181)
* Add logging on shutdown

* Replace tokio::spawn with handle.spawn

* Upgrade tokio

* Add a task executor

* Beacon chain tasks use task executor

* Validator client tasks use task executor

* Rename runtime_handle to executor

* Add duration histograms; minor fixes

* Cleanup

* Fix logs

* Fix tests

* Remove random file

* Get enr dependency instead of libp2p

* Address some review comments

* Libp2p takes a TaskExecutor

* Ugly fix libp2p tests

* Move TaskExecutor to own file

* Upgrade Dockerfile rust version

* Minor fixes

* Revert "Ugly fix libp2p tests"

This reverts commit 58d4bb690f52de28d893943b7504d2d0c6621429.

* Pretty fix libp2p tests

* Add spawn_without_exit; change Counter to Gauge

* Tidy

* Move log from RuntimeContext to TaskExecutor

* Fix errors

* Replace histogram with int_gauge for async tasks

* Fix todo

* Fix memory leak in test by exiting all spawned tasks at the end
2020-06-04 21:48:05 +10:00
..
clap_utils Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
compare_fields Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
compare_fields_derive Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
deposit_contract Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
eth2_config Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
eth2_interop_keypairs Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
eth2_testnet_config Improve tokio task execution (#1181) 2020-06-04 21:48:05 +10:00
eth2_wallet_manager Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
hashset_delay Improve tokio task execution (#1181) 2020-06-04 21:48:05 +10:00
lighthouse_metrics Improve tokio task execution (#1181) 2020-06-04 21:48:05 +10:00
logging Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
remote_beacon_node Add /node/health endpoint (#1197) 2020-05-28 11:24:24 +10:00
rest_types Ensure new health endpoint builds on MacOS (#1215) 2020-06-01 21:18:31 +10:00
slot_clock Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
test_random_derive Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
validator_dir Update docs to suit sigp/docker-compose updates (#1235) 2020-06-01 21:18:48 +10:00
README.md Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00

eth2

Common crates containing eth2-specific logic.