mirror of
https://github.com/RoboSats/taptrade-core.git
synced 2025-07-23 11:13:17 +00:00
remove create_taproot from compilation
This commit is contained in:
@ -32,6 +32,7 @@ pub struct PayoutData {
|
|||||||
pub aggregated_musig_pubkey_ctx_hex: String,
|
pub aggregated_musig_pubkey_ctx_hex: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Clone)]
|
||||||
pub struct KeyspendContext {
|
pub struct KeyspendContext {
|
||||||
pub agg_sig: LiftedSignature,
|
pub agg_sig: LiftedSignature,
|
||||||
pub agg_nonce: MusigAggNonce,
|
pub agg_nonce: MusigAggNonce,
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
pub mod bond_monitoring;
|
pub mod bond_monitoring;
|
||||||
pub mod coordinator_utils;
|
pub mod coordinator_utils;
|
||||||
pub mod create_taproot;
|
// pub mod create_taproot;
|
||||||
pub mod mempool_monitoring;
|
pub mod mempool_monitoring;
|
||||||
pub mod tx_confirmation_monitoring;
|
pub mod tx_confirmation_monitoring;
|
||||||
|
|
||||||
use self::coordinator_utils::*;
|
use self::coordinator_utils::*;
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use bitcoin::key;
|
||||||
use musig2::{AggNonce, KeyAggContext, PartialSignature};
|
use musig2::{AggNonce, KeyAggContext, PartialSignature};
|
||||||
|
|
||||||
pub async fn process_order(
|
pub async fn process_order(
|
||||||
@ -351,13 +352,7 @@ pub async fn handle_payout_signature(
|
|||||||
} else {
|
} else {
|
||||||
return Ok(false);
|
return Ok(false);
|
||||||
};
|
};
|
||||||
|
dbg!("Keyspend info: {}", keyspend_information);
|
||||||
// let aggregated_signature = wallet::payout_tx::aggregate_partial_signatures(
|
|
||||||
// &maker_partial_sig_hex,
|
|
||||||
// &taker_partial_sig_hex,
|
|
||||||
// )
|
|
||||||
// .map_err(|e| RequestError::CoordinatorError(e.to_string()))?;
|
|
||||||
|
|
||||||
warn!("Use musig2 validate partial sig to validate sigs before using to blame users providing wrong sigs");
|
warn!("Use musig2 validate partial sig to validate sigs before using to blame users providing wrong sigs");
|
||||||
|
|
||||||
Ok(true)
|
Ok(true)
|
||||||
|
Reference in New Issue
Block a user