pub fn retrieve_payment_proof(
		&self,
		keychain_mask: Option<&SecretKey>,
		refresh_from_node: bool,
		tx_id: Option<u32>,
		tx_slate_id: Option<Uuid>,
	) -> Result<PaymentProof, Error> {
		let tx = {
			let t = self.status_tx.lock();
			t.clone()
		};
		let refresh_from_node = match self.updater_running.load(Ordering::Relaxed) {
			true => false,
			false => refresh_from_node,
		};
		owner::retrieve_payment_proof(
			self.wallet_inst.clone(),
			keychain_mask,
			&tx,
			refresh_from_node,
			tx_id,
			tx_slate_id,
		)
	}
/// Returns a single, exportable [PaymentProof](../mimble_wallet_libwallet/api_impl/types/struct.PaymentProof.html)
/// from a completed transaction within the wallet.
///
/// The transaction must have been created with a payment proof, and the transaction must be
/// complete in order for a payment proof to be returned. Either the `tx_id` or `tx_slate_id`
/// argument must be provided, or the function will return an error.
///
/// # Arguments
/// * `keychain_mask` - Wallet secret mask to XOR against the stored wallet seed before using, if
/// being used.
/// * `refresh_from_node` - If true, the wallet will attempt to contact
/// a node (via the [`NodeClient`](../mimble_wallet_libwallet/types/trait.NodeClient.html)
/// provided during wallet instantiation). If `false`, the results will
/// contain transaction information that may be out-of-date (from the last time
/// the wallet's output set was refreshed against the node).
/// Note this setting is ignored if the updater process is running via a call to
/// [`start_updater`](struct.Owner.html#method.start_updater)
/// * `tx_id` - If `Some(i)` return the proof associated with the transaction with id `i`
/// * `tx_slate_id` - If `Some(uuid)`, return the proof associated with the transaction with the
/// given `uuid`
///
/// # Returns
/// * Ok([PaymentProof](../mimble_wallet_libwallet/api_impl/types/struct.PaymentProof.html)) if successful
/// * or [`libwallet::Error`](../mimble_wallet_libwallet/struct.Error.html) if an error is encountered
/// or the proof is not present or complete
///
/// # Example
/// Set up as in [`new`](struct.Owner.html#method.new) method above.
/// ```
/// # mimble_wallet_api::doctest_helper_setup_doc_env!(wallet, wallet_config);
///
/// let api_owner = Owner::new(wallet.clone(), None, None);
/// let update_from_node = true;
/// let tx_id = None;
/// let tx_slate_id = Some(Uuid::parse_str("0436430c-2b02-624c-2032-570501212b00").unwrap());
///
/// // Return all TxLogEntries
/// let result = api_owner.retrieve_payment_proof(None, update_from_node, tx_id, tx_slate_id);
///
/// if let Ok(p) = result {
///     //...
/// }
/// ```


The transaction must have been created with a payment proof, and the transaction must be
complete in order for a payment proof to be returned. Either the `tx_id` or `tx_slate_id`
argument must be provided, or the function will return an error.
The transaction must have been created with a payment proof and the transaction must be complete in order for a payment proof to be returned . Either the ` tx_id ` or ` tx_slate_id ` argument must be provided or the function will return an error .
pub fn retrieve_payment_proof(
		&self,
		keychain_mask: Option<&SecretKey>,
		refresh_from_node: bool,
		tx_id: Option<u32>,
		tx_slate_id: Option<Uuid>,
	) -> Result<PaymentProof, Error> {
		let tx = {
			let t = self.status_tx.lock();
			t.clone()
		};
		let refresh_from_node = match self.updater_running.load(Ordering::Relaxed) {
			true => false,
			false => refresh_from_node,
		};
		owner::retrieve_payment_proof(
			self.wallet_inst.clone(),
			keychain_mask,
			&tx,
			refresh_from_node,
			tx_id,
			tx_slate_id,
		)
	}
pub fn retrieve_payment_proof ( & self , keychain_mask : Option < & SecretKey > , refresh_from_node : bool , tx_id : Option < u32 > , tx_slate_id : Option < Uuid > , ) -> Result < PaymentProof , Error > { let tx = { let t = self . status_tx . lock ( ) ; t . clone ( ) } ; let refresh_from_node = match self . updater_running . load ( Ordering :: Relaxed ) { true => false , false => refresh_from_node , } ; owner :: retrieve_payment_proof ( self . wallet_inst . clone ( ) , keychain_mask , & tx , refresh_from_node , tx_id , tx_slate_id , ) }
Returns a single, exportable [PaymentProof](../mimble_wallet_libwallet/api_impl/types/struct.PaymentProof.html)
from a completed transaction within the wallet.
Returns a single exportable [ PaymentProof ] ( .. / mimble_wallet_libwallet / api_impl / types / struct . PaymentProof . html ) from a completed transaction within the wallet .
&self
keychain_mask
Option<&SecretKey>
refresh_from_node
bool
tx_id
Option<u32>
tx_slate_id
Option<Uuid>
Ok([PaymentProof](../mimble_wallet_libwallet/api_impl/types/struct.PaymentProof.html)) if successful
or [`libwallet::Error`](../mimble_wallet_libwallet/struct.Error.html) if an error is encountered
or the proof is not present or complete
Ok ( [ PaymentProof ] ( .. / mimble_wallet_libwallet / api_impl / types / struct . PaymentProof . html )) if successful or [ ` libwallet :: Error ` ] ( .. / mimble_wallet_libwallet / struct . Error . html ) if an error is encountered or the proof is not present or complete
&self
keychain_mask
Option<&SecretKey>
refresh_from_node
bool
tx_id
Option<u32>
tx_slate_id
Option<Uuid>
example
Set up as in [`new`](struct.Owner.html#method.new) method above.
Set up as in [ ` new ` ] ( struct . Owner . html#method . new ) method above .
mimble_wallet_api::doctest_helper_setup_doc_env!(wallet, wallet_config);


Return all TxLogEntries
let result = api_owner.retrieve_payment_proof(None, update_from_node, tx_id, tx_slate_id).


Return all TxLogEntries let result = api_owner . retrieve_payment_proof ( None update_from_node tx_id tx_slate_id ) .