Skip to content

Commit

Permalink
refactor: use btc rpc client for mempool tracker (#4227)
Browse files Browse the repository at this point in the history
refactor: use btc client for mempool tracker
  • Loading branch information
kylezs authored Nov 14, 2023
1 parent fc200c1 commit 95fcd89
Show file tree
Hide file tree
Showing 8 changed files with 478 additions and 391 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ graph
*terraform.tfstate*
tfplan
.tfvars

*rustc-ice*
1 change: 1 addition & 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 api/bin/chainflip-ingress-egress-tracker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ edition = "2021"
[dependencies]
anyhow = "1.0.72"
async-trait = "0.1.73"
bitcoin = { version = "0.30.0", features = ["serde"] }
futures = "0.3.28"
jsonrpsee = { version = "0.16.2", features = ["server"] }
reqwest = { version = "0.11.18", features = ["json"] }
Expand Down
4 changes: 2 additions & 2 deletions api/bin/chainflip-ingress-egress-tracker/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ async fn main() -> anyhow::Result<()> {
eth_key_path: eth_key_temp_file.path().into(),
dot_node: WsHttpEndpoints {
ws_endpoint: env::var("DOT_WS_ENDPOINT")
.unwrap_or("ws://localhost:9945".to_string())
.unwrap_or("ws://localhost:9947".to_string())
.into(),
http_endpoint: env::var("DOT_HTTP_ENDPOINT")
.unwrap_or("http://localhost:9945".to_string())
.unwrap_or("http://localhost:9947".to_string())
.into(),
},
state_chain_ws_endpoint: env::var("SC_WS_ENDPOINT")
Expand Down
Loading

0 comments on commit 95fcd89

Please sign in to comment.