mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-24 20:49:27 +00:00
Move old processor/src directory to processor/TODO
This commit is contained in:
parent
2984d2f8cf
commit
a0ed043372
10 changed files with 18 additions and 16 deletions
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// TODO
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
use rand_core::{RngCore, OsRng};
|
use rand_core::{RngCore, OsRng};
|
|
@ -1,3 +1,5 @@
|
||||||
|
// TODO
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
use rand_core::{RngCore, OsRng};
|
use rand_core::{RngCore, OsRng};
|
|
@ -1,3 +1,5 @@
|
||||||
|
// TODO
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
use zeroize::Zeroizing;
|
use zeroize::Zeroizing;
|
|
@ -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,
|
|
@ -1,3 +1,5 @@
|
||||||
|
// TODO
|
||||||
|
|
||||||
use std::sync::OnceLock;
|
use std::sync::OnceLock;
|
||||||
|
|
||||||
mod key_gen;
|
mod key_gen;
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue