Move old processor/src directory to processor/TODO

This commit is contained in:
Luke Parker 2024-09-20 02:20:59 -04:00
parent 2984d2f8cf
commit a0ed043372
10 changed files with 18 additions and 16 deletions

View file

@ -59,19 +59,3 @@ async fn handle_coordinator_msg<D: Db, N: Network, Co: Coordinator>(
} }
} }
} }
#[tokio::main]
async fn main() {
match network_id {
#[cfg(feature = "ethereum")]
NetworkId::Ethereum => {
let relayer_hostname = env::var("ETHEREUM_RELAYER_HOSTNAME")
.expect("ethereum relayer hostname wasn't specified")
.to_string();
let relayer_port =
env::var("ETHEREUM_RELAYER_PORT").expect("ethereum relayer port wasn't specified");
let relayer_url = relayer_hostname + ":" + &relayer_port;
run(db.clone(), Ethereum::new(db, url, relayer_url).await, coordinator).await
}
}
}

View file

@ -1,3 +1,5 @@
// TODO
use core::{time::Duration, pin::Pin, future::Future}; use core::{time::Duration, pin::Pin, future::Future};
use std::collections::HashMap; use std::collections::HashMap;

View file

@ -1,3 +1,5 @@
// TODO
use std::collections::HashMap; use std::collections::HashMap;
use rand_core::{RngCore, OsRng}; use rand_core::{RngCore, OsRng};

View file

@ -1,3 +1,5 @@
// TODO
use std::collections::HashMap; use std::collections::HashMap;
use rand_core::{RngCore, OsRng}; use rand_core::{RngCore, OsRng};

View file

@ -1,3 +1,5 @@
// TODO
use std::collections::HashMap; use std::collections::HashMap;
use zeroize::Zeroizing; use zeroize::Zeroizing;

View file

@ -1,3 +1,5 @@
// TODO
use dockertest::{ use dockertest::{
PullPolicy, StartPolicy, LogOptions, LogAction, LogPolicy, LogSource, Image, PullPolicy, StartPolicy, LogOptions, LogAction, LogPolicy, LogSource, Image,
TestBodySpecification, DockerOperations, DockerTest, TestBodySpecification, DockerOperations, DockerTest,

View file

@ -1,3 +1,5 @@
// TODO
use std::sync::OnceLock; use std::sync::OnceLock;
mod key_gen; mod key_gen;

View file

@ -1,3 +1,5 @@
// TODO
use core::{pin::Pin, time::Duration, future::Future}; use core::{pin::Pin, time::Duration, future::Future};
use std::sync::Arc; use std::sync::Arc;

View file

@ -1,3 +1,5 @@
// TODO
use core::{pin::Pin, future::Future}; use core::{pin::Pin, future::Future};
use std::collections::HashMap; use std::collections::HashMap;

View file

@ -1,3 +1,5 @@
// TODO
use core::{time::Duration, pin::Pin, future::Future}; use core::{time::Duration, pin::Pin, future::Future};
use std::collections::HashMap; use std::collections::HashMap;