pub fn add_transaction_elements<K, B>(
		&mut self,
		keychain: &K,
		builder: &B,
		mut elems: Vec<Box<build::Append<K, B>>>,
	) -> Result<BlindingFactor, Error>
	where
		K: Keychain,
		B: ProofBuild,
	{
		// 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, builder)?;
		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, B>(
		&mut self,
		keychain: &K,
		builder: &B,
		mut elems: Vec<Box<build::Append<K, B>>>,
	) -> Result<BlindingFactor, Error>
	where
		K: Keychain,
		B: ProofBuild,
	{
		// 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, builder)?;
		self.tx = tx;
		Ok(blind)
	}
pub fn add_transaction_elements < K , B > ( & mut self , keychain : & K , builder : & B , mut elems : Vec < Box < build :: Append < K , B > > > , ) -> Result < BlindingFactor , Error > where K : Keychain , B : ProofBuild , { // 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 , builder ) ? ; 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
builder
&B
elems
Vec<Box<build::Append<K, B>>>
&mut self
keychain
&K
builder
&B
elems
Vec<Box<build::Append<K, B>>>