No other changes other than those introduced by the script.
use bitcoin::amount::Amount;
use bitcoin::constants::genesis_block;
use bitcoin::locktime::absolute::LockTime;
+use bitcoin::network::Network;
use bitcoin::opcodes;
use bitcoin::script::{Builder, ScriptBuf};
-use bitcoin::transaction::{Transaction, TxOut};
-use bitcoin::network::Network;
use bitcoin::transaction::Version;
+use bitcoin::transaction::{Transaction, TxOut};
use bitcoin::hash_types::BlockHash;
use bitcoin::hashes::sha256::Hash as Sha256;
//! This test has been very useful, though due to its complexity good starting inputs are critical.
use bitcoin::amount::Amount;
+use bitcoin::consensus::encode::deserialize;
use bitcoin::constants::genesis_block;
use bitcoin::locktime::absolute::LockTime;
+use bitcoin::network::Network;
use bitcoin::opcodes;
use bitcoin::script::{Builder, ScriptBuf};
-use bitcoin::transaction::{Transaction, TxOut};
-use bitcoin::consensus::encode::deserialize;
-use bitcoin::network::Network;
use bitcoin::transaction::Version;
+use bitcoin::transaction::{Transaction, TxOut};
use bitcoin::hash_types::{BlockHash, Txid};
use bitcoin::hashes::hex::FromHex;
mod tests {
use super::{BackgroundProcessor, GossipSync, FRESHNESS_TIMER};
use bitcoin::constants::{genesis_block, ChainHash};
- use bitcoin::locktime::absolute::LockTime;
- use bitcoin::transaction::{Transaction, TxOut};
use bitcoin::hashes::Hash;
+ use bitcoin::locktime::absolute::LockTime;
use bitcoin::network::Network;
use bitcoin::secp256k1::{PublicKey, Secp256k1, SecretKey};
use bitcoin::transaction::Version;
+ use bitcoin::transaction::{Transaction, TxOut};
use bitcoin::{Amount, ScriptBuf, Txid};
use core::sync::atomic::{AtomicBool, Ordering};
use lightning::chain::channelmonitor::ANTI_REORG_DELAY;
use bitcoin::block::Block;
use bitcoin::constants::ChainHash;
-use bitcoin::transaction::{OutPoint, TxOut};
use bitcoin::hash_types::BlockHash;
+use bitcoin::transaction::{OutPoint, TxOut};
use lightning::ln::peer_handler::APeerManager;
use bitcoin::block::{Block, Header, Version};
use bitcoin::constants::genesis_block;
-use bitcoin::locktime::absolute::LockTime;
use bitcoin::hash_types::{BlockHash, TxMerkleNode};
+use bitcoin::locktime::absolute::LockTime;
use bitcoin::network::Network;
use bitcoin::transaction;
use bitcoin::Transaction;
use bitcoin::absolute::LockTime as AbsoluteLockTime;
use bitcoin::amount::Amount;
-use bitcoin::constants::WITNESS_SCALE_FACTOR;
use bitcoin::consensus::Encodable;
+use bitcoin::constants::WITNESS_SCALE_FACTOR;
use bitcoin::policy::MAX_STANDARD_TX_WEIGHT;
use bitcoin::transaction::Version;
use bitcoin::{OutPoint, ScriptBuf, Sequence, Transaction, TxIn, TxOut, Weight};
use crate::util::ser::TransactionU16LenLimited;
use bitcoin::absolute::LockTime as AbsoluteLockTime;
use bitcoin::amount::Amount;
- use bitcoin::opcodes;
- use bitcoin::script::Builder;
use bitcoin::hashes::Hash;
use bitcoin::key::UntweakedPublicKey;
+ use bitcoin::opcodes;
+ use bitcoin::script::Builder;
use bitcoin::secp256k1::{Keypair, Secp256k1};
use bitcoin::transaction::Version;
use bitcoin::{
use bitcoin::amount::Amount;
use bitcoin::bip32::{ChildNumber, Xpriv, Xpub};
+use bitcoin::ecdsa::Signature as EcdsaSignature;
use bitcoin::locktime::absolute::LockTime;
+use bitcoin::network::Network;
use bitcoin::opcodes;
use bitcoin::script::{Builder, Script, ScriptBuf};
-use bitcoin::transaction::{Transaction, TxIn, TxOut};
-use bitcoin::ecdsa::Signature as EcdsaSignature;
-use bitcoin::network::Network;
use bitcoin::sighash;
use bitcoin::sighash::EcdsaSighashType;
use bitcoin::transaction::Version;
+use bitcoin::transaction::{Transaction, TxIn, TxOut};
use bech32::u5;
use bitcoin::hashes::sha256::Hash as Sha256;
//! Defines a Taproot-specific signer type.
use alloc::vec::Vec;
-use bitcoin::transaction::Transaction;
use bitcoin::secp256k1;
use bitcoin::secp256k1::{schnorr::Signature, PublicKey, Secp256k1, SecretKey};
+use bitcoin::transaction::Transaction;
use musig2::types::{PartialSignature, PublicNonce};