use { self::batch::{Batch, Batchfile, Mode}, super::*, crate::{subcommand::wallet::transaction_builder::Target, wallet::Wallet}, bitcoin::{ blockdata::{opcodes, script}, key::PrivateKey, key::{TapTweak, TweakedKeyPair, TweakedPublicKey, UntweakedKeyPair}, locktime::absolute::LockTime, policy::MAX_STANDARD_TX_WEIGHT, secp256k1::{self, constants::SCHNORR_SIGNATURE_SIZE, rand, Secp256k1, XOnlyPublicKey}, sighash::{Prevouts, SighashCache, TapSighashType}, taproot::Signature, taproot::{ControlBlock, LeafVersion, TapLeafHash, TaprootBuilder}, ScriptBuf, Witness, }, bitcoincore_rpc::bitcoincore_rpc_json::{ImportDescriptors, SignRawTransactionInput, Timestamp}, bitcoincore_rpc::Client, std::collections::BTreeSet, }; mod batch; #[derive(Serialize, Deserialize, Debug, PartialEq)] pub struct InscriptionInfo { pub id: InscriptionId, pub location: SatPoint, } #[derive(Serialize, Deserialize)] pub struct Output { pub commit: Txid, pub inscriptions: Vec,