Merge commit 'refs/pull/393/head' of github.com:bitcoindevkit/bdk

This commit is contained in:
Alekos Filini 2021-07-16 09:05:51 +02:00
commit ea699a6ec1
No known key found for this signature in database
GPG Key ID: 431401E4A4530061

View File

@ -160,7 +160,10 @@ pub struct TransactionDetails {
pub received: u64, pub received: u64,
/// Sent value (sats) /// Sent value (sats)
pub sent: u64, pub sent: u64,
/// Fee value (sats) if available /// Fee value (sats) if available.
/// The availability of the fee depends on the backend. It's never `None` with an Electrum
/// Server backend, but it could be `None` with a Bitcoin RPC node without txindex that receive
/// funds while offline.
pub fee: Option<u64>, pub fee: Option<u64>,
/// If the transaction is confirmed, contains height and timestamp of the block containing the /// If the transaction is confirmed, contains height and timestamp of the block containing the
/// transaction, unconfirmed transaction contains `None`. /// transaction, unconfirmed transaction contains `None`.