Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the BeaconProcessor into a new crate #4434

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
445dbf6
Create new `beacon_processor` crate
paulhauner Jun 19, 2023
67f1923
Add attestation batching
paulhauner Jun 20, 2023
8349325
Move work reprocessing queue
paulhauner Jun 20, 2023
441fe93
Work on reprocessing queue
paulhauner Jun 20, 2023
4a7fd49
Misc progress
paulhauner Jun 20, 2023
6043e3c
Add TODOs
paulhauner Jun 20, 2023
89475ae
New beacon processor crate compiles (but no clippy)
paulhauner Jun 20, 2023
768d2c5
Add async functions
paulhauner Jun 21, 2023
7162b78
Box large objects
paulhauner Jun 21, 2023
399cdd4
Fix all clippy lints
paulhauner Jun 21, 2023
328ee50
Unify types in `lighthouse_network`
paulhauner Jun 21, 2023
4b9f2f4
Start refactoring `network` crate
paulhauner Jun 21, 2023
54628f1
Misc `network` refactoring
paulhauner Jun 21, 2023
cab145d
Start adding builder pattern
paulhauner Jun 21, 2023
39415c2
Remove builder pattern
paulhauner Jun 22, 2023
805a1d4
Start removing process_fn generators
paulhauner Jun 22, 2023
45f4ef5
Add misc progress
paulhauner Jun 22, 2023
cb7fe28
Add `WorkEvent` constructor functions
paulhauner Jun 22, 2023
f6a35ef
Add misc progress
paulhauner Jun 22, 2023
13d137c
Add WorkEventBuilder
paulhauner Jun 22, 2023
1a3121f
Remove builder pattern (again, lel)
paulhauner Jun 22, 2023
03b538f
Change Error, update chain segment
paulhauner Jun 22, 2023
e43b25d
Remove constuctor impls for `WorkEvent`
paulhauner Jun 22, 2023
9c4faf6
Fix misc compile errors
paulhauner Jun 22, 2023
4b7875f
Add misc progress
paulhauner Jun 22, 2023
e9c6249
Fix aggregation fns
paulhauner Jun 22, 2023
6e81aaa
Fix misc warnings
paulhauner Jun 22, 2023
cc85768
Fix small compile errors
paulhauner Jun 22, 2023
dc4dc10
Integrate into client builder
paulhauner Jun 23, 2023
352b543
Address misc compile issues
paulhauner Jun 23, 2023
6de3583
Fix remaining `make` compile errors
paulhauner Jun 23, 2023
02454cb
Fix issues with `make lint`
paulhauner Jun 23, 2023
754ac3d
Fix `make udeps` errors
paulhauner Jun 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ members = [

"beacon_node",
"beacon_node/beacon_chain",
"beacon_node/beacon_processor",
"beacon_node/builder_client",
"beacon_node/client",
"beacon_node/eth1",
Expand Down
2 changes: 1 addition & 1 deletion beacon_node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ monitoring_api = { path = "../common/monitoring_api" }
sensitive_url = { path = "../common/sensitive_url" }
http_api = { path = "http_api" }
unused_port = { path = "../common/unused_port" }
strum = "0.24.1"
strum = "0.24.1"
24 changes: 24 additions & 0 deletions beacon_node/beacon_processor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[package]
name = "beacon_processor"
version = "0.1.0"
edition = "2021"

[dependencies]
slog = { version = "2.5.2", features = ["max_level_trace"] }
itertools = "0.10.0"
logging = { path = "../../common/logging" }
tokio = { version = "1.14.0", features = ["full"] }
tokio-util = { version = "0.6.3", features = ["time"] }
futures = "0.3.7"
fnv = "1.0.7"
strum = "0.24.0"
task_executor = { path = "../../common/task_executor" }
slot_clock = { path = "../../common/slot_clock" }
lighthouse_network = { path = "../lighthouse_network" }
hex = "0.4.2"
derivative = "2.2.0"
types = { path = "../../consensus/types" }
ethereum_ssz = "0.5.0"
lazy_static = "1.4.0"
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
parking_lot = "0.12.0"
Loading