mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-08 06:22:39 -04:00
moving methods to api and validating addresses for rpc
This commit is contained in:
parent
a26822d85b
commit
aeeffccda2
4 changed files with 101 additions and 74 deletions
|
@ -1,13 +1,10 @@
|
|||
use crate::api::{Context, Config};
|
||||
use crate::api::Context;
|
||||
use crate::api::request::{Request, Params, Method};
|
||||
use crate::bitcoin::{Amount, bitcoin_address};
|
||||
use crate::monero::monero_address;
|
||||
use crate::fs::system_data_dir;
|
||||
use crate::{env, monero};
|
||||
use anyhow::{bail, Context as AnyContext, Result};
|
||||
use bitcoin::{Address, AddressType};
|
||||
use crate::monero;
|
||||
use anyhow::Result;
|
||||
use libp2p::core::Multiaddr;
|
||||
use serde::Serialize;
|
||||
use std::ffi::OsString;
|
||||
use std::net::SocketAddr;
|
||||
use std::path::PathBuf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue