//! block-template-to-proposal arguments
//!//! For usage please refer to the program help: `block-template-to-proposal --help`
usestructopt::StructOpt;usezebra_chain::parameters::Network;usezebra_rpc::client::BlockTemplateTimeSource;/// block-template-to-proposal arguments
#[derive(Clone, Debug, Eq, PartialEq, StructOpt)]pubstructArgs{/// The network to use for the block proposal.
#[structopt(default_value ="Mainnet", short, long)]pubnet: Network,
/// The source of the time in the block proposal header.
/// Format: "curtime", "mintime", "maxtime", ["clamped"]u32, "raw"u32
/// Clamped times are clamped to the template's [`mintime`, `maxtime`].
/// Raw times are used unmodified: this can produce invalid proposals.
#[structopt(default_value ="CurTime", short, long)]pubtime_source: BlockTemplateTimeSource,
/// The JSON block template.
/// If this argument is not supplied, the template is read from standard input.
////// The template and proposal structures are printed to stderr.
#[structopt(last = true)]pubtemplate:Option<String>,
}