forked from sigp/lighthouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
> This is currently a WIP and all features are subject to alteration or removal at any time. The successor to sigp#2873. Contains the backbone of `beacon.watch` including syncing code, the initial API, and several core database tables. See `watch/README.md` for more information, requirements and usage.
- Loading branch information
1 parent
694bbbf
commit a6766f9
Showing
79 changed files
with
7,184 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,6 +89,8 @@ members = [ | |
|
||
"validator_client", | ||
"validator_client/slashing_protection", | ||
|
||
"watch", | ||
] | ||
resolver = "2" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
#![cfg(not(debug_assertions))] // Tests are too slow in debug. | ||
#![recursion_limit = "512"] | ||
|
||
pub mod common; | ||
pub mod fork_tests; | ||
pub mod interactive_tests; | ||
pub mod tests; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
config.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
[package] | ||
name = "watch" | ||
version = "0.1.0" | ||
edition = "2018" | ||
|
||
[lib] | ||
name = "watch" | ||
path = "src/lib.rs" | ||
|
||
[[bin]] | ||
name = "watch" | ||
path = "src/main.rs" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
clap = "2.33.3" | ||
log = "0.4.14" | ||
env_logger = "0.9.0" | ||
types = { path = "../consensus/types" } | ||
eth2 = { path = "../common/eth2" } | ||
beacon_node = { path = "../beacon_node"} | ||
tokio = { version = "1.14.0", features = ["time"] } | ||
axum = "0.5.15" | ||
hyper = "0.14.20" | ||
serde = "1.0.116" | ||
serde_json = "1.0.58" | ||
reqwest = { version = "0.11.0", features = ["json","stream"] } | ||
url = "2.2.2" | ||
rand = "0.7.3" | ||
diesel = { version = "2.0.2", features = ["postgres", "r2d2"] } | ||
diesel_migrations = { version = "2.0.0", features = ["postgres"] } | ||
byteorder = "1.4.3" | ||
bls = { path = "../crypto/bls" } | ||
hex = "0.4.2" | ||
r2d2 = "0.8.9" | ||
serde_yaml = "0.8.24" | ||
|
||
[dev-dependencies] | ||
tokio-postgres = "0.7.5" | ||
http_api = { path = "../beacon_node/http_api" } | ||
beacon_chain = { path = "../beacon_node/beacon_chain" } | ||
network = { path = "../beacon_node/network" } | ||
testcontainers = "0.14.0" | ||
unused_port = { path = "../common/unused_port" } |
Oops, something went wrong.