Improve docs of satisfaction_weight
This commit is contained in:
parent
7c1dcd8a72
commit
d9a102afa9
@ -106,8 +106,10 @@ pub struct LocalUtxo {
|
|||||||
/// A [`Utxo`] with its `satisfaction_weight`.
|
/// A [`Utxo`] with its `satisfaction_weight`.
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub struct WeightedUtxo {
|
pub struct WeightedUtxo {
|
||||||
/// The weight of the witness data or `scriptSig`.
|
/// The weight of the witness data and `scriptSig` expressed in [weight units]. This is used to
|
||||||
/// This is used to properly maintain the feerate when doing coin selection.
|
/// properly maintain the feerate when adding this input to a transaction during coin selection.
|
||||||
|
///
|
||||||
|
/// [weight units]: https://en.bitcoin.it/wiki/Weight_units
|
||||||
pub satisfaction_weight: usize,
|
pub satisfaction_weight: usize,
|
||||||
/// The UTXO
|
/// The UTXO
|
||||||
pub utxo: Utxo,
|
pub utxo: Utxo,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user