Преглед изворни кода

chore: doc comments for amount target

thesimplekid пре 9 месеци
родитељ
комит
ea17895478
1 измењених фајлова са 3 додато и 0 уклоњено
  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),
 }