Jelajahi Sumber

chore: doc comments for amount target

thesimplekid 9 bulan lalu
induk
melakukan
ea17895478
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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(
     Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Default, Serialize, Deserialize,
 )]
 pub enum SplitTarget {
+    /// Default target least amount of proofs
     #[default]
     None,
+    /// Tagrget amount for wallet to have most proofs that add up to value
     Value(Amount),
 }