closes #7. adds a blockchain watchdog that checks every hour if the tip height has advanced or not. Sends alert email if height is less or equal to height at the last check and enters a warning mode. In warning mode it waits until the height is greater than previous, and then sends a recovery alert and switches to normal mode.
45 lines
1.5 KiB
TOML
45 lines
1.5 KiB
TOML
[package]
|
|
name = "neptune-explorer"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
axum = { version = "0.7.9", features = ["macros"] }
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
serde_json = "1.0.115"
|
|
tokio = { version = "1.37.0", features = ["full", "tracing"] }
|
|
tracing = "0.1.40"
|
|
tracing-subscriber = "0.3.18"
|
|
|
|
# 9602321148095f9991808780b406c1789f9a3a4f = betanet
|
|
neptune-cash = {git = "https://github.com/Neptune-Crypto/neptune-core.git", rev = "9602321148095f9991808780b406c1789f9a3a4f"}
|
|
tarpc = { version = "^0.34", features = [
|
|
"tokio1",
|
|
"serde-transport",
|
|
"serde-transport-json",
|
|
"tcp",
|
|
] }
|
|
clap = "4.5.4"
|
|
thiserror = "1.0.59"
|
|
boilerplate = { version = "1.0.0" }
|
|
html-escaper = "0.2.0"
|
|
tower-http = { version = "0.5.2", features = ["fs"] }
|
|
readonly = "0.2.12"
|
|
url = "2.5.0"
|
|
lettre = {version = "0.11.7", features = ["tokio1-native-tls"]}
|
|
chrono = "0.4.34"
|
|
|
|
# only should be used inside main.rs, for the binary.
|
|
anyhow = "1.0.86"
|
|
arc-swap = "1.7.1"
|
|
derive_more = { version = "1.0.0", features = ["display"] }
|
|
|
|
[patch.crates-io]
|
|
# 694f27daf78aade0ed0dc07e3babaab036cd5572 is tip of branch: master as of 2024-04-30
|
|
#tasm-lib = { git = "https://github.com/TritonVM/tasm-lib.git", rev = "694f27daf78aade0ed0dc07e3babaab036cd5572" }
|
|
|
|
# 0d2cb98c0495d30e53d28e82a35de44dc655c3ea = tip of branch: master, on 2024-04-24
|
|
#twenty-first = { git = "https://github.com/Neptune-Crypto/twenty-first.git", rev = "0d2cb98c0495d30e53d28e82a35de44dc655c3ea" }
|