mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-06 13:34:38 -04:00
Split monero-harness into harness and rpc
This allows us to move `monero-harness` and `bitcoin-harness` into `[dev-dependencies]` of `swap`.
This commit is contained in:
parent
2a3db9bd80
commit
03078f328c
16 changed files with 82 additions and 54 deletions
|
@ -3,7 +3,7 @@ use crate::{
|
|||
protocol::{bob, bob::BobState},
|
||||
};
|
||||
use ::bitcoin::hashes::core::fmt::Display;
|
||||
use monero_harness::rpc::wallet::BlockHeight;
|
||||
use monero_rpc::wallet::BlockHeight;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq)]
|
||||
|
|
|
@ -7,7 +7,7 @@ use anyhow::Result;
|
|||
use async_trait::async_trait;
|
||||
use backoff::{backoff::Constant as ConstantBackoff, future::retry};
|
||||
use bitcoin::hashes::core::sync::atomic::AtomicU32;
|
||||
use monero_harness::rpc::wallet;
|
||||
use monero_rpc::wallet;
|
||||
use std::{
|
||||
str::FromStr,
|
||||
sync::{atomic::Ordering, Arc},
|
||||
|
|
|
@ -21,7 +21,7 @@ use ecdsa_fun::{
|
|||
nonce::Deterministic,
|
||||
Signature,
|
||||
};
|
||||
use monero_harness::rpc::wallet::BlockHeight;
|
||||
use monero_rpc::wallet::BlockHeight;
|
||||
use rand::{CryptoRng, RngCore};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use sha2::Sha256;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue