mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 15:39:25 -05:00
Remove stale comments
This commit is contained in:
parent
5971ef1f28
commit
249f273d1b
@ -7,7 +7,6 @@ pub mod bob;
|
|||||||
pub mod monero;
|
pub mod monero;
|
||||||
pub mod network;
|
pub mod network;
|
||||||
pub mod storage;
|
pub mod storage;
|
||||||
//#[cfg(feature = "tor")]
|
|
||||||
pub mod tor;
|
pub mod tor;
|
||||||
|
|
||||||
const REFUND_TIMELOCK: u32 = 10; // Relative timelock, this is number of blocks. TODO: What should it be?
|
const REFUND_TIMELOCK: u32 = 10; // Relative timelock, this is number of blocks. TODO: What should it be?
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use futures::{channel::mpsc, StreamExt};
|
use futures::{channel::mpsc, StreamExt};
|
||||||
use libp2p::core::Multiaddr;
|
use libp2p::Multiaddr;
|
||||||
use log::LevelFilter;
|
use log::LevelFilter;
|
||||||
use std::{io, io::Write, process, sync::Arc};
|
use std::{io, io::Write, process, sync::Arc};
|
||||||
use structopt::StructOpt;
|
use structopt::StructOpt;
|
||||||
|
@ -18,7 +18,6 @@ use libp2p::{
|
|||||||
/// - DNS name resolution
|
/// - DNS name resolution
|
||||||
/// - authentication via noise
|
/// - authentication via noise
|
||||||
/// - multiplexing via yamux or mplex
|
/// - multiplexing via yamux or mplex
|
||||||
/// #[cfg(not(feature = "tor"))]
|
|
||||||
pub fn build(id_keys: identity::Keypair) -> Result<SwapTransport> {
|
pub fn build(id_keys: identity::Keypair) -> Result<SwapTransport> {
|
||||||
use libp2p::tcp::TokioTcpConfig;
|
use libp2p::tcp::TokioTcpConfig;
|
||||||
|
|
||||||
@ -45,7 +44,6 @@ pub fn build(id_keys: identity::Keypair) -> Result<SwapTransport> {
|
|||||||
/// - DNS name resolution
|
/// - DNS name resolution
|
||||||
/// - authentication via noise
|
/// - authentication via noise
|
||||||
/// - multiplexing via yamux or mplex
|
/// - multiplexing via yamux or mplex
|
||||||
// #[cfg(feature = "tor")]
|
|
||||||
pub fn build_tor(
|
pub fn build_tor(
|
||||||
id_keys: identity::Keypair,
|
id_keys: identity::Keypair,
|
||||||
addr: libp2p::core::Multiaddr,
|
addr: libp2p::core::Multiaddr,
|
||||||
|
Loading…
Reference in New Issue
Block a user