crate::ix!();
pub struct InputCoin {
outpoint: OutPoint,
txout: TxOut,
effective_value: Amount,
fee: Amount, long_term_fee: Amount,
input_bytes: i32, }
impl Ord for InputCoin {
#[inline] fn cmp(&self, other: &InputCoin) -> Ordering {
todo!();
}
}
impl PartialOrd<InputCoin> for InputCoin {
#[inline] fn partial_cmp(&self, other: &InputCoin) -> Option<Ordering> {
Some(self.cmp(other))
}
}
impl PartialEq<InputCoin> for InputCoin {
#[inline] fn eq(&self, other: &InputCoin) -> bool {
todo!();
}
}
impl Eq for InputCoin {}
impl InputCoin {
pub fn new_with_txref(
tx: &TransactionRef,
i: u32) -> Self {
todo!();
}
pub fn new_with_txref_and_input_bytes(
tx: &TransactionRef,
i: u32,
input_bytes: i32) -> Self {
todo!();
}
pub fn new_wth_outpoint(
outpoint_in: &OutPoint,
txout_in: &TxOut) -> Self {
todo!();
}
pub fn new_with_input_bytes(
outpoint_in: &OutPoint,
txout_in: &TxOut,
input_bytes: i32) -> Self {
todo!();
}
}