Kaynağa Gözat

chore: doc comments for amount target

thesimplekid 9 ay önce
ebeveyn
işleme
ea17895478
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      crates/cdk/src/amount.rs

+ 3 - 0
crates/cdk/src/amount.rs

@@ -63,12 +63,15 @@ impl Amount {
     }
     }
 }
 }
 
 
+/// Kinds of targeting that are supported
 #[derive(
 #[derive(
     Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Default, Serialize, Deserialize,
     Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Default, Serialize, Deserialize,
 )]
 )]
 pub enum SplitTarget {
 pub enum SplitTarget {
+    /// Default target least amount of proofs
     #[default]
     #[default]
     None,
     None,
+    /// Tagrget amount for wallet to have most proofs that add up to value
     Value(Amount),
     Value(Amount),
 }
 }