pub trait TransactionBuilder: Send {
    type TxType: Transaction;

Show 17 methods // Required methods fn build(self) -> Result<Self::TxType>; fn fee_checked_from_tx( &self, params: &ConsensusParameters ) -> Option<TransactionFee>; fn check_without_signatures( &self, block_height: u32, parameters: &ConsensusParameters ) -> Result<()>; fn set_maturity(self, maturity: u32) -> Self; fn set_gas_price(self, gas_price: u64) -> Self; fn set_gas_limit(self, gas_limit: u64) -> Self; fn set_tx_params(self, tx_params: TxParameters) -> Self; fn set_inputs(self, inputs: Vec<Input>) -> Self; fn set_outputs(self, outputs: Vec<Output>) -> Self; fn set_witnesses(self, witnesses: Vec<Witness>) -> Self; fn set_consensus_parameters( self, consensus_parameters: ConsensusParameters ) -> Self; fn inputs(&self) -> &Vec<Input>; fn inputs_mut(&mut self) -> &mut Vec<Input>; fn outputs(&self) -> &Vec<Output>; fn outputs_mut(&mut self) -> &mut Vec<Output>; fn witnesses(&self) -> &Vec<Witness>; fn witnesses_mut(&mut self) -> &mut Vec<Witness>;
}

Required Associated Types§

Required Methods§

source

fn build(self) -> Result<Self::TxType>

source

fn fee_checked_from_tx( &self, params: &ConsensusParameters ) -> Option<TransactionFee>

source

fn check_without_signatures( &self, block_height: u32, parameters: &ConsensusParameters ) -> Result<()>

source

fn set_maturity(self, maturity: u32) -> Self

source

fn set_gas_price(self, gas_price: u64) -> Self

source

fn set_gas_limit(self, gas_limit: u64) -> Self

source

fn set_tx_params(self, tx_params: TxParameters) -> Self

source

fn set_inputs(self, inputs: Vec<Input>) -> Self

source

fn set_outputs(self, outputs: Vec<Output>) -> Self

source

fn set_witnesses(self, witnesses: Vec<Witness>) -> Self

source

fn set_consensus_parameters( self, consensus_parameters: ConsensusParameters ) -> Self

source

fn inputs(&self) -> &Vec<Input>

source

fn inputs_mut(&mut self) -> &mut Vec<Input>

source

fn outputs(&self) -> &Vec<Output>

source

fn outputs_mut(&mut self) -> &mut Vec<Output>

source

fn witnesses(&self) -> &Vec<Witness>

source

fn witnesses_mut(&mut self) -> &mut Vec<Witness>

Implementors§