Thomas Eizinger
3 years ago
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
2 changed files with
3 additions and
10 deletions
-
daemon/src/maker.rs
-
daemon/src/taker.rs
|
|
@ -1,26 +1,20 @@ |
|
|
|
use anyhow::{Context, Result}; |
|
|
|
use bdk::bitcoin::secp256k1::schnorrsig; |
|
|
|
use bdk::bitcoin::Amount; |
|
|
|
use bdk::{bitcoin, FeeRate}; |
|
|
|
use clap::{Parser, Subcommand}; |
|
|
|
use daemon::auth::{self, MAKER_USERNAME}; |
|
|
|
use daemon::db::{self}; |
|
|
|
|
|
|
|
use daemon::model::WalletInfo; |
|
|
|
|
|
|
|
use daemon::seed::Seed; |
|
|
|
use daemon::{ |
|
|
|
bitmex_price_feed, housekeeping, logger, maker_cfd, maker_inc_connections, monitor, oracle, |
|
|
|
bitmex_price_feed, db, housekeeping, logger, maker_cfd, maker_inc_connections, monitor, oracle, |
|
|
|
wallet, wallet_sync, MakerActorSystem, |
|
|
|
}; |
|
|
|
|
|
|
|
use sqlx::sqlite::SqliteConnectOptions; |
|
|
|
use sqlx::SqlitePool; |
|
|
|
|
|
|
|
use std::net::SocketAddr; |
|
|
|
use std::path::PathBuf; |
|
|
|
use std::str::FromStr; |
|
|
|
|
|
|
|
use bdk::bitcoin::Amount; |
|
|
|
use std::task::Poll; |
|
|
|
use tokio::sync::watch; |
|
|
|
use tracing_subscriber::filter::LevelFilter; |
|
|
|
|
|
@ -3,11 +3,10 @@ use bdk::bitcoin::secp256k1::schnorrsig; |
|
|
|
use bdk::bitcoin::{Address, Amount}; |
|
|
|
use bdk::{bitcoin, FeeRate}; |
|
|
|
use clap::{Parser, Subcommand}; |
|
|
|
use daemon::db::{self}; |
|
|
|
use daemon::model::WalletInfo; |
|
|
|
use daemon::seed::Seed; |
|
|
|
use daemon::{ |
|
|
|
bitmex_price_feed, connection, housekeeping, logger, monitor, oracle, taker_cfd, wallet, |
|
|
|
bitmex_price_feed, connection, db, housekeeping, logger, monitor, oracle, taker_cfd, wallet, |
|
|
|
wallet_sync, TakerActorSystem, |
|
|
|
}; |
|
|
|
use sqlx::sqlite::SqliteConnectOptions; |
|
|
|