pub fn add_transaction_elements<K>(
		&mut self,
		keychain: &K,
		mut elems: Vec<Box<build::Append<K>>>,
	) -> Result<BlindingFactor, Error>
	where
		K: Keychain,
	{
		// Append to the exiting transaction
		if self.tx.kernels().len() != 0 {
			elems.insert(0, build::initial_tx(self.tx.clone()));
		}
		let (tx, blind) = build::partial_transaction(elems, keychain)?;
		self.tx = tx;
		Ok(blind)
	}
/// Adds selected inputs and outputs to the slate's transaction
/// Returns blinding factor
Adds selected inputs and outputs to the slate's transaction
Returns blinding factor
Adds selected inputs and outputs to the slate ' s transaction Returns blinding factor
pub fn add_transaction_elements<K>(
		&mut self,
		keychain: &K,
		mut elems: Vec<Box<build::Append<K>>>,
	) -> Result<BlindingFactor, Error>
	where
		K: Keychain,
	{
		// Append to the exiting transaction
		if self.tx.kernels().len() != 0 {
			elems.insert(0, build::initial_tx(self.tx.clone()));
		}
		let (tx, blind) = build::partial_transaction(elems, keychain)?;
		self.tx = tx;
		Ok(blind)
	}
pub fn add_transaction_elements < K > ( & mut self , keychain : & K , mut elems : Vec < Box < build :: Append < K > > > , ) -> Result < BlindingFactor , Error > where K : Keychain , { // Append to the exiting transaction if self . tx . kernels ( ) . len ( ) != 0 { elems . insert ( 0 , build :: initial_tx ( self . tx . clone ( ) ) ) ; } let ( tx , blind ) = build :: partial_transaction ( elems , keychain ) ? ; self . tx = tx ; Ok ( blind ) }
Adds selected inputs and outputs to the slate's transaction
Returns blinding factor
Adds selected inputs and outputs to the slate ' s transaction Returns blinding factor
&mut self
keychain
&K
elems
Vec<Box<build::Append<K>>>