소스 검색

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),
 }