use super::*; pub(super) struct Batch { pub(super) commit_fee_rate: FeeRate, pub(super) destinations: Vec
, pub(super) dry_run: bool, pub(super) inscriptions: Vec, pub(super) mode: Mode, pub(super) no_backup: bool, pub(super) no_limit: bool, pub(super) parent_info: Option, pub(super) postage: Amount, pub(super) reinscribe: bool, pub(super) reveal_fee_rate: FeeRate, pub(super) satpoint: Option, } impl Default for Batch { fn default() -> Batch { Batch { commit_fee_rate: 1.0.try_into().unwrap(), destinations: Vec::new(), dry_run: false, inscriptions: Vec::new(), mode: Mode::SharedOutput, no_backup: false, no_limit: false, parent_info: None, postage: Amount::from_sat(10_000), reinscribe: false, reveal_fee_rate: 1.0.try_into().unwrap(), satpoint: None, } } } impl Batch { pub(crate) fn inscribe( &self, chain: Chain, index: &Index, client: &Client,